summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-06-29 13:58:18 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-01 15:39:20 +0200
commitb21204b60d0149859f2d285b8c2371f40e9bb0e7 (patch)
tree22a8caa1634886f7da55cc18c58f4c7689ae6caa /tools/perf/scripts/python
parent0c90789ad0377490a4e5937d96f364f055e1f3c7 (diff)
downloadlinux-b21204b60d0149859f2d285b8c2371f40e9bb0e7.tar.gz
linux-b21204b60d0149859f2d285b8c2371f40e9bb0e7.zip
staging: rts5208/rtsx.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/20200629082819.216405-4-vaibhavgupta40@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions