Commit 8e0d8572 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] mn88472: add small delay to wait DVB-C lock

400ms delay seems to be enough in order to gain DVB-C lock.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 64796a52
...@@ -105,6 +105,13 @@ static int mn88472_rreg(struct mn88472_state *s, u16 reg, u8 *val) ...@@ -105,6 +105,13 @@ static int mn88472_rreg(struct mn88472_state *s, u16 reg, u8 *val)
return mn88472_rregs(s, reg, val, 1); return mn88472_rregs(s, reg, val, 1);
} }
static int mn88472_get_tune_settings(struct dvb_frontend *fe,
struct dvb_frontend_tune_settings *s)
{
s->min_delay_ms = 400;
return 0;
}
static int mn88472_set_frontend_c(struct dvb_frontend *fe) static int mn88472_set_frontend_c(struct dvb_frontend *fe)
{ {
struct mn88472_state *s = fe->demodulator_priv; struct mn88472_state *s = fe->demodulator_priv;
...@@ -398,6 +405,8 @@ static struct dvb_frontend_ops mn88472_ops_c = { ...@@ -398,6 +405,8 @@ static struct dvb_frontend_ops mn88472_ops_c = {
.release = mn88472_release_c, .release = mn88472_release_c,
.get_tune_settings = mn88472_get_tune_settings,
.init = mn88472_init_c, .init = mn88472_init_c,
.sleep = mn88472_sleep_c, .sleep = mn88472_sleep_c,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment