提交 6304a60e 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

[media] dvb_core: export function to perform retune

We need to retune when resume from suspend.
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 c06d8752
...@@ -307,6 +307,15 @@ void dvb_frontend_reinitialise(struct dvb_frontend *fe) ...@@ -307,6 +307,15 @@ void dvb_frontend_reinitialise(struct dvb_frontend *fe)
} }
EXPORT_SYMBOL(dvb_frontend_reinitialise); 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) static void dvb_frontend_swzigzag_update_delay(struct dvb_frontend_private *fepriv, int locked)
{ {
int q2; int q2;
......
...@@ -418,6 +418,7 @@ extern int dvb_unregister_frontend(struct dvb_frontend *fe); ...@@ -418,6 +418,7 @@ extern int dvb_unregister_frontend(struct dvb_frontend *fe);
extern void dvb_frontend_detach(struct dvb_frontend *fe); extern void dvb_frontend_detach(struct dvb_frontend *fe);
extern void dvb_frontend_reinitialise(struct dvb_frontend *fe); extern void dvb_frontend_reinitialise(struct dvb_frontend *fe);
extern void dvb_frontend_retune(struct dvb_frontend *fe);
extern void dvb_frontend_sleep_until(struct timeval *waketime, u32 add_usec); extern void dvb_frontend_sleep_until(struct timeval *waketime, u32 add_usec);
extern s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime); extern s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册