WSL2-Linux-Kernel/drivers/media/pci/cx88
Vaibhav Gupta a28b2ed9ad 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>
2020-07-19 14:24:19 +02:00
..
Kconfig Revert "media: Kconfig: better support hybrid TV devices" 2020-04-14 11:00:30 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
cx88-alsa.c media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
cx88-blackbird.c media: media/pci: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:53:50 +01:00
cx88-cards.c media: cx88: Add support for NotOnlyTV LV3H card 2019-10-10 07:17:19 -03:00
cx88-core.c media: pci: cx88: convert to use i2c_new_client_device() 2020-04-14 11:28:55 +02:00
cx88-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88-dvb.c media: cx88: Add support for NotOnlyTV LV3H card 2019-10-10 07:17:19 -03:00
cx88-i2c.c media: add SPDX headers to some files 2019-06-12 11:42:27 -04:00
cx88-input.c media: pci: cx88: convert to use i2c_new_client_device() 2020-04-14 11:28:55 +02:00
cx88-mpeg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88-tvaudio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88-vbi.c media: cx88: Get rid of spurious call to cx8800_start_vbi_dma() 2018-05-05 10:25:20 -04:00
cx88-video.c media: cx88: use generic power management 2020-07-19 14:24:19 +02:00
cx88-vp3054-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88-vp3054-i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx88.h media: cx88: Add support for NotOnlyTV LV3H card 2019-10-10 07:17:19 -03:00