OpenCloudOS-Kernel/drivers/media/platform/marvell-ccic
Vaibhav Gupta e3083c3f36 media: cafe-driver: 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() and pci_enable/disable_device() to do required
operations. In generic mode, they are no longer needed.

Change function parameter in both .suspend() and .resume() to
"struct device*" type.

Compile-tested only.

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>
2020-08-06 11:26:42 +02:00
..
Kconfig media: marvell-ccic: provide a clock for the sensor 2019-06-24 11:33:49 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cafe-driver.c media: cafe-driver: use generic power management 2020-08-06 11:26:42 +02:00
mcam-core.c media: cafe-driver: use generic power management 2020-08-06 11:26:42 +02:00
mcam-core.h media: cafe-driver: use generic power management 2020-08-06 11:26:42 +02:00
mmp-driver.c media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE 2019-07-25 06:27:14 -04:00