summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/zl10353.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2009-03-10 18:06:40 +0200
committerAntti Palosaari <crope@iki.fi>2009-03-10 18:06:40 +0200
commit11fac5cc5ec5cdba94e722f55d09a91dfc0df95a (patch)
treefcdaf7746ab0fa3ef61d4a72ad08ce7421982bc0 /linux/drivers/media/dvb/frontends/zl10353.c
parentea258810bf8de7d5d78d74aafe44e0ea8e7f8783 (diff)
downloadmediapointer-dvb-s2-11fac5cc5ec5cdba94e722f55d09a91dfc0df95a.tar.gz
mediapointer-dvb-s2-11fac5cc5ec5cdba94e722f55d09a91dfc0df95a.tar.bz2
zl10353: i2c_gate_ctrl bug fix
From: Antti Palosaari <crope@iki.fi> zl10353 i2c-gate was always closed and due to that devices having tuner behind i2c-gate were broken. Add module configuration which allows disabling i2c-gate only when really needed. Priority: high Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/zl10353.c')
-rw-r--r--linux/drivers/media/dvb/frontends/zl10353.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/zl10353.c b/linux/drivers/media/dvb/frontends/zl10353.c
index be5d7ef7c..96ccc1720 100644
--- a/linux/drivers/media/dvb/frontends/zl10353.c
+++ b/linux/drivers/media/dvb/frontends/zl10353.c
@@ -601,7 +601,7 @@ static int zl10353_i2c_gate_ctrl(struct dvb_frontend* fe, int enable)
struct zl10353_state *state = fe->demodulator_priv;
u8 val = 0x0a;
- if (state->config.no_tuner) {
+ if (state->config.disable_i2c_gate_ctrl) {
/* No tuner attached to the internal I2C bus */
/* If set enable I2C bridge, the main I2C bus stopped hardly */
return 0;