diff options
Diffstat (limited to 'drivers/media/dvb/frontends/stv090x.c')
-rw-r--r-- | drivers/media/dvb/frontends/stv090x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index 6c0378ddebc5..9f69317f81c2 100644 --- 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) | |||
3880 | const struct stv090x_config *config = state->config; | 3880 | const struct stv090x_config *config = state->config; |
3881 | u32 reg; | 3881 | u32 reg; |
3882 | 3882 | ||
3883 | if (stv090x_wakeup(fe) < 0) { | ||
3884 | dprintk(FE_ERROR, 1, "Error waking device"); | ||
3885 | goto err; | ||
3886 | } | ||
3887 | |||
3883 | stv090x_ldpc_mode(state, state->demod_mode); | 3888 | stv090x_ldpc_mode(state, state->demod_mode); |
3884 | 3889 | ||
3885 | reg = STV090x_READ_DEMOD(state, TNRCFG2); | 3890 | reg = STV090x_READ_DEMOD(state, TNRCFG2); |
@@ -3893,6 +3898,8 @@ static int stv090x_init(struct dvb_frontend *fe) | |||
3893 | 3898 | ||
3894 | stv090x_i2c_gate_ctrl(fe, 1); | 3899 | stv090x_i2c_gate_ctrl(fe, 1); |
3895 | 3900 | ||
3901 | if (config->tuner_set_mode) | ||
3902 | config->tuner_set_mode(fe, TUNER_WAKE); | ||
3896 | if (config->tuner_init) | 3903 | if (config->tuner_init) |
3897 | config->tuner_init(fe); | 3904 | config->tuner_init(fe); |
3898 | 3905 | ||