mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
8e04a7afce
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> |
||
---|---|---|
.. | ||
alcor_pci.c | ||
Kconfig | ||
Makefile | ||
rtl8411.c | ||
rts5209.c | ||
rts5227.c | ||
rts5228.c | ||
rts5228.h | ||
rts5229.c | ||
rts5249.c | ||
rts5260.c | ||
rts5260.h | ||
rts5261.c | ||
rts5261.h | ||
rtsx_pcr.c | ||
rtsx_pcr.h | ||
rtsx_usb.c |