aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda10048.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/tda10048.c')
-rw-r--r--drivers/media/dvb/frontends/tda10048.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda10048.c b/drivers/media/dvb/frontends/tda10048.c
index dfa3e2ccc741..11be4697cb3d 100644
--- a/drivers/media/dvb/frontends/tda10048.c
+++ b/drivers/media/dvb/frontends/tda10048.c
@@ -689,6 +689,9 @@ static int tda10048_i2c_gate_ctrl(struct dvb_frontend *fe, int enable)
689 struct tda10048_state *state = fe->demodulator_priv; 689 struct tda10048_state *state = fe->demodulator_priv;
690 dprintk(1, "%s(%d)\n", __func__, enable); 690 dprintk(1, "%s(%d)\n", __func__, enable);
691 691
692 if (state->config->disable_gate_access)
693 return 0;
694
692 if (enable) 695 if (enable)
693 return tda10048_writereg(state, TDA10048_CONF_C4_1, 696 return tda10048_writereg(state, TDA10048_CONF_C4_1,
694 tda10048_readreg(state, TDA10048_CONF_C4_1) | 0x02); 697 tda10048_readreg(state, TDA10048_CONF_C4_1) | 0x02);