aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/tda1004x.c3
-rw-r--r--drivers/media/dvb/frontends/tda827x.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tda1004x.c b/drivers/media/dvb/frontends/tda1004x.c
index 3de729b3b4bf..f4882457d021 100644
--- a/drivers/media/dvb/frontends/tda1004x.c
+++ b/drivers/media/dvb/frontends/tda1004x.c
@@ -695,7 +695,8 @@ static int tda1004x_set_fe(struct dvb_frontend* fe,
695 // set frequency 695 // set frequency
696 if (fe->ops.tuner_ops.set_params) { 696 if (fe->ops.tuner_ops.set_params) {
697 fe->ops.tuner_ops.set_params(fe, fe_params); 697 fe->ops.tuner_ops.set_params(fe, fe_params);
698 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); 698 if (fe->ops.i2c_gate_ctrl)
699 fe->ops.i2c_gate_ctrl(fe, 0);
699 } 700 }
700 701
701 // Hardcoded to use auto as much as possible on the TDA10045 as it 702 // Hardcoded to use auto as much as possible on the TDA10045 as it
diff --git a/drivers/media/dvb/frontends/tda827x.c b/drivers/media/dvb/frontends/tda827x.c
index edf7a0a902ba..8176a9b5898f 100644
--- a/drivers/media/dvb/frontends/tda827x.c
+++ b/drivers/media/dvb/frontends/tda827x.c
@@ -214,7 +214,7 @@ static int tda827xa_set_params(struct dvb_frontend *fe,
214 struct dvb_frontend_parameters *params) 214 struct dvb_frontend_parameters *params)
215{ 215{
216 struct tda827x_priv *priv = fe->tuner_priv; 216 struct tda827x_priv *priv = fe->tuner_priv;
217 u8 buf[10]; 217 u8 buf[11];
218 218
219 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, 219 struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0,
220 .buf = buf, .len = sizeof(buf) }; 220 .buf = buf, .len = sizeof(buf) };