summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-20 13:17:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-23 16:17:37 +0300
commit8f27d659dfe67f4d70ba31120d7118055823f667 (patch)
tree8482265eedca47c62cb28c2ad93adffb923b098c /drivers/bus
parent21ee9b1995fc01510352d4a55c5316283293b020 (diff)
downloadlinux-8f27d659dfe67f4d70ba31120d7118055823f667.tar.xz
cardreader/rtsx_pcr.c: use generic power management
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>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions