diff options
Diffstat (limited to 'drivers/media/dvb/frontends/tda8261.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda8261.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda8261.c b/drivers/media/dvb/frontends/tda8261.c index 320c3c36d8b2..614afcec05f1 100644 --- a/drivers/media/dvb/frontends/tda8261.c +++ b/drivers/media/dvb/frontends/tda8261.c | |||
@@ -39,7 +39,7 @@ static int tda8261_read(struct tda8261_state *state, u8 *buf) | |||
39 | { | 39 | { |
40 | const struct tda8261_config *config = state->config; | 40 | const struct tda8261_config *config = state->config; |
41 | int err = 0; | 41 | int err = 0; |
42 | struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD,.buf = buf, .len = 2 }; | 42 | struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD,.buf = buf, .len = 1 }; |
43 | 43 | ||
44 | if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) | 44 | if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) |
45 | printk("%s: read error, err=%d\n", __func__, err); | 45 | printk("%s: read error, err=%d\n", __func__, err); |