linux/drivers/media/pci/bt8xx
Vaibhav Gupta a3f132df0e media: bttv: use generic power management
Drivers using legacy power management .suspen()/.resume() callbacks
have to manage PCI states and device's PM states themselves. They also
need to take care of standard configuration registers.

Switch to generic power management framework using a single
"struct dev_pm_ops" variable to take the unnecessary load from the driver.
This also avoids the need for the driver to directly call most of the PCI
helper functions and device power state control functions, as through
the generic framework PCI Core takes care of the necessary operations,
and drivers are required to do only device-specific jobs.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-27 14:11:26 +01:00
..
bt848.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bt878.c media: bt8xx: switch from 'pci_' to 'dma_' API 2020-11-27 14:09:01 +01:00
bt878.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
btcx-risc.c media: bt8xx: avoid a useless memset 2020-11-27 14:09:34 +01:00
btcx-risc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bttv-audio-hook.c media: add SPDX headers to some files 2019-06-12 11:42:27 -04:00
bttv-audio-hook.h media: add SPDX headers to some files 2019-06-12 11:42:27 -04:00
bttv-cards.c media: bttv: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
bttv-driver.c media: bttv: use generic power management 2020-11-27 14:11:26 +01:00
bttv-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-input.c media: pci: bt8xx: convert to i2c_new_scanned_device 2020-01-08 14:31:54 +01:00
bttv-risc.c media: Bulk remove BUG_ON(in_interrupt()) 2020-11-16 10:31:10 +01:00
bttv-vbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv.h media: pci: fix several typos 2019-03-01 09:32:51 -05:00
bttvp.h media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
dst_ca.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_ca.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dst.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dvb-bt8xx.c media: bt8xx: convert tasklets to use new tasklet_setup() API 2020-08-29 08:10:52 +02:00
dvb-bt8xx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07: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