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:
9629c5b
)
V4L/DVB (11598): stv090x: fix missing wakeup in init
author
Andreas Regel
<
[email protected]
>
Thu, 23 Apr 2009 17:59:03 +0000
(14:59 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 16 Jun 2009 21:20:41 +0000
(18:20 -0300)
Signed-off-by: Andreas Regel <
[email protected]
>
Signed-off-by: Manu Abraham <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/frontends/stv090x.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/stv090x.c
b/drivers/media/dvb/frontends/stv090x.c
index 6c0378ddebc5d97d5fdd7aa5e94f4a0436ef658b..9f69317f81c20725b3e3371bf281b09b4081deb7 100644
(file)
--- a/
drivers/media/dvb/frontends/stv090x.c
+++ b/
drivers/media/dvb/frontends/stv090x.c
@@
-3880,6
+3880,11
@@
static int stv090x_init(struct dvb_frontend *fe)
const struct stv090x_config *config = state->config;
u32 reg;
+ if (stv090x_wakeup(fe) < 0) {
+ dprintk(FE_ERROR, 1, "Error waking device");
+ goto err;
+ }
+
stv090x_ldpc_mode(state, state->demod_mode);
reg = STV090x_READ_DEMOD(state, TNRCFG2);
@@
-3893,6
+3898,8
@@
static int stv090x_init(struct dvb_frontend *fe)
stv090x_i2c_gate_ctrl(fe, 1);
+ if (config->tuner_set_mode)
+ config->tuner_set_mode(fe, TUNER_WAKE);
if (config->tuner_init)
config->tuner_init(fe);