summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/pluto2
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-17 09:34:34 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 14:24:19 +0200
commita28b2ed9ad0551a18aaa2fa6ba8dd3d3e8cfb27f (patch)
treed3e6e5a1582dc5b92085e480e74f055da96bc055 /drivers/media/pci/pluto2
parentmedia: cx25821: use generic power management (diff)
downloadlinux-a28b2ed9ad0551a18aaa2fa6ba8dd3d3e8cfb27f.tar.xz
linux-a28b2ed9ad0551a18aaa2fa6ba8dd3d3e8cfb27f.zip
media: cx88: use generic power management
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. The driver was invoking PCI helper functions like pci_save/restore_state(), pci_enable/disable_device() and pci_set_power_state(), which is not recommended. Compile-tested only. [hverkuil: fixes checkpatch alignment warning] Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/pluto2')
0 files changed, 0 insertions, 0 deletions