projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64796a5
)
[media] mn88472: add small delay to wait DVB-C lock
author
Antti Palosaari
<
[email protected]
>
Mon, 2 Dec 2013 23:28:58 +0000
(20:28 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 14 Nov 2014 19:19:12 +0000
(17:19 -0200)
400ms delay seems to be enough in order to gain DVB-C lock.
Signed-off-by: Antti Palosaari <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb-frontends/mn88472_c.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/mn88472_c.c
b/drivers/media/dvb-frontends/mn88472_c.c
index 59d48e75acc1d0be74b19bae5fe1a02b486a5376..b5bd326d9e6615503113b52cda4cb68a79d0bea1 100644
(file)
--- a/
drivers/media/dvb-frontends/mn88472_c.c
+++ b/
drivers/media/dvb-frontends/mn88472_c.c
@@
-105,6
+105,13
@@
static int mn88472_rreg(struct mn88472_state *s, u16 reg, u8 *val)
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)
{
struct mn88472_state *s = fe->demodulator_priv;
@@
-398,6
+405,8
@@
static struct dvb_frontend_ops mn88472_ops_c = {
.release = mn88472_release_c,
+ .get_tune_settings = mn88472_get_tune_settings,
+
.init = mn88472_init_c,
.sleep = mn88472_sleep_c,