diff options
author | Peng Wu <[email protected]> | 2022-05-20 08:44:25 +0000 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-06-06 14:58:24 +0200 |
commit | 18178e03b124b0c6be17abbbca914157642f5d7a (patch) | |
tree | 77be9107c2cfb40e85a1ef705f1c47bb326fba3e /lib/memory-notifier-error-inject.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions