aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/mips
diff options
context:
space:
mode:
authorVaibhav Gupta <[email protected]>2020-07-20 21:27:15 +0530
committerMark Brown <[email protected]>2020-07-22 01:55:52 +0100
commitf185bcc779808df5d31bc332b79b5f1455ee910b (patch)
treea2bea23262013c21f6cef1d10cf75c14eaca2330 /sound/mips
parentspi: ppc4xx: Convert to use GPIO descriptors (diff)
downloadwireguard-linux-f185bcc779808df5d31bc332b79b5f1455ee910b.tar.xz
wireguard-linux-f185bcc779808df5d31bc332b79b5f1455ee910b.zip
spi: spi-topcliff-pch: use generic power management
Drivers using legacy PM have to manage PCI states and device's PM states themselves. They also need to take care of configuration registers. With improved and powerful support of generic PM, PCI Core takes care of above mentioned, device-independent, jobs. This driver makes use of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), pci_enable_wake() and pci_set_power_state() to do required operations. In generic mode, they are no longer needed. Change function parameter in both .suspend() and .resume() to "struct device*" type. Use dev_get_drvdata() to get drv data. Compile-tested only. Signed-off-by: Vaibhav Gupta <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions
OSZAR »