linux/drivers/media
Lukas Middendorf 98a1ca2976 media: media dvb_frontend: add suspend and resume callbacks to dvb_frontend_ops
While dvb_tuner_ops already has dedicated suspend and resume callbacks,
dvb_frontend_ops currently does not have them. Add those callbacks and
use them for suspend and resume. If they are not set, the old behavior
of calling sleep or init is used.

This allows dvb_frontend drivers to handle resume differently from init,
and suspend differently from sleep. No change is required for drivers
not needing this functionality.

Link: https://lore.kernel.org/linux-media/20210418001204.7453-2-kernel@tuxforce.de

Cc: Lukas Middendorf <kernel@tuxforce.de>, Antti Palosaari <crope@iki.fi>, Mauro Carvalho Chehab <mchehab@kernel.org>, Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Lukas Middendorf <kernel@tuxforce.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-19 15:57:22 +00:00
..
cec media: CEC: keep related menu entries together 2021-10-05 09:39:32 +02:00
common media: videobuf2: Fix the size printk format 2021-11-15 08:11:31 +00:00
dvb-core media: media dvb_frontend: add suspend and resume callbacks to dvb_frontend_ops 2021-11-19 15:57:22 +00:00
dvb-frontends Merge branch 'akpm' (patches from Andrew) 2021-11-09 10:11:53 -08:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: dw9768: activate runtime PM and turn off device 2021-11-15 08:11:34 +00:00
mc media: Request API is no longer experimental 2021-09-30 10:07:55 +02:00
mmc
pci media: b2c2: Add missing check in flexcop_pci_isr: 2021-11-19 15:40:09 +00:00
platform media: coda: V4L2_PIX_FMT_GREY for coda960 JPEG Encoder 2021-11-19 06:10:06 +00:00
radio media: si470x: Avoid card name truncation 2021-09-30 10:08:00 +02:00
rc media: redrat3: fix control-message timeouts 2021-11-19 06:04:16 +00:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-09-30 10:07:40 +02:00
test-drivers media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release() 2021-10-19 08:08:19 +01:00
tuners Linux 5.15-rc4 2021-10-04 07:52:13 +02:00
usb media: stk1160: fix control-message timeouts 2021-11-19 06:08:52 +00:00
v4l2-core media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE 2021-11-15 08:12:04 +00:00
Kconfig media: correct MEDIA_TEST_SUPPORT help text 2021-11-15 08:12:06 +00:00
Makefile