diff options
author | 2022-05-20 08:44:25 +0000 | |
---|---|---|
committer | 2022-06-06 14:58:24 +0200 | |
commit | 18178e03b124b0c6be17abbbca914157642f5d7a (patch) | |
tree | 77be9107c2cfb40e85a1ef705f1c47bb326fba3e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 5.19-rc1 (diff) | |
download | wireguard-linux-18178e03b124b0c6be17abbbca914157642f5d7a.tar.xz wireguard-linux-18178e03b124b0c6be17abbbca914157642f5d7a.zip |
mtd: rawnand: cafe: fix drivers probe/remove methods
Driver should call pci_disable_device() if it returns from
cafe_nand_probe() with error.
Meanwhile, the driver calls pci_enable_device() in
cafe_nand_probe(), but never calls pci_disable_device()
during removal.
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220520084425.116686-1-wupeng58@huawei.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions