linux/drivers/misc/cardreader
Shuah Khan 8e04a7afce misc: alcor_pci: set NULL intfdata and clear pci master
alcor_pci doesn't set driver data to NULL and clear pci master when
probe fails. Doesn't clear pci master from remove interface. Clearing
pci master is necessary to disable bus mastering and prevent DMAs after
driver removal.

Fix alcor_pci_probe() to set driver data to NULL and clear pci master
from its error path. Fix alcor_pci_remove() to clear pci master.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220517203630.45232-1-skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-19 18:57:17 +02:00
..
Kconfig
Makefile
alcor_pci.c misc: alcor_pci: set NULL intfdata and clear pci master 2022-05-19 18:57:17 +02:00
rtl8411.c misc: rtsx: Quiesce rts5249 on system suspend 2022-01-26 18:53:28 +01:00
rts5209.c misc: rtsx: Quiesce rts5249 on system suspend 2022-01-26 18:53:28 +01:00
rts5227.c misc: rtsx: rts522a rts5228 rts5261 support Runtime PM 2022-02-25 12:11:16 +01:00
rts5228.c misc: rtsx: clean up one inconsistent indenting 2022-03-18 13:52:30 +01:00
rts5228.h
rts5229.c misc: rtsx: Quiesce rts5249 on system suspend 2022-01-26 18:53:28 +01:00
rts5249.c misc: rtsx: Quiesce rts5249 on system suspend 2022-01-26 18:53:28 +01:00
rts5260.c
rts5260.h
rts5261.c misc: rtsx: add rts5261 efuse function 2022-05-09 15:37:36 +02:00
rts5261.h
rtsx_pcr.c misc: rtsx: conditionally build rtsx_pm_power_saving() 2022-02-25 12:10:45 +01:00
rtsx_pcr.h misc: rtsx: rts522a rts5228 rts5261 support Runtime PM 2022-02-25 12:11:16 +01:00
rtsx_usb.c misc: rtsx: set NULL intfdata when probe fails 2022-05-09 15:40:15 +02:00