diff options
author | Antti Palosaari <crope@iki.fi> | 2012-08-14 22:21:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-15 19:15:45 -0300 |
commit | 6304a60eb891137cfc20047263073a5d087e2f69 (patch) | |
tree | ef6615d9656732d7eb803bd96561eed80c4c4573 /drivers/media/dvb-core/dvb_frontend.c | |
parent | c06d8752e790ed1e717316416c10a7929f1873dd (diff) |
[media] dvb_core: export function to perform retune
We need to retune when resume from suspend.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.c')
-rw-r--r-- | drivers/media/dvb-core/dvb_frontend.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 12e5eb1fff7..5fb19eae5a8 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -307,6 +307,15 @@ void dvb_frontend_reinitialise(struct dvb_frontend *fe) } EXPORT_SYMBOL(dvb_frontend_reinitialise); +void dvb_frontend_retune(struct dvb_frontend *fe) +{ + struct dvb_frontend_private *fepriv = fe->frontend_priv; + + fepriv->state = FESTATE_RETUNE; + dvb_frontend_wakeup(fe); +} +EXPORT_SYMBOL(dvb_frontend_retune); + static void dvb_frontend_swzigzag_update_delay(struct dvb_frontend_private *fepriv, int locked) { int q2; |