forked from Minki/linux
8f27d659df
Drivers should not use legacy power management as they have to manage power states and related operations, for the device, themselves. This driver was handling them with the help of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), etc. With generic PM, all essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Link: https://lore.kernel.org/r/20200720101722.145211-1-vaibhavgupta40@gmail.com 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 |