diff options
author | Lukas Middendorf <kernel@tuxforce.de> | 2021-04-18 02:12:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-19 16:57:22 +0100 |
commit | 98a1ca29768aca6e06e93f2bc4439f01ba439ac4 (patch) | |
tree | 847c7e3149f07e417a757fda4feee6be77e46fa1 /crypto/crct10dif_generic.c | |
parent | media: b2c2: Add missing check in flexcop_pci_isr: (diff) | |
download | linux-98a1ca29768aca6e06e93f2bc4439f01ba439ac4.tar.xz linux-98a1ca29768aca6e06e93f2bc4439f01ba439ac4.zip |
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>
Diffstat (limited to 'crypto/crct10dif_generic.c')
0 files changed, 0 insertions, 0 deletions