diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-04-27 11:31:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:07 -0400 |
commit | ede2200d79777d461cf2f0fd19cf7a17f633d3a4 (patch) | |
tree | e12df65dcb5aa1e8738d31e19f651c8e5d721148 /drivers/media/dvb/frontends/tda827x.c | |
parent | 8481a7506bc71622bb5bbd89bc89b2f38bff5ead (diff) |
V4L/DVB (5369): Fixed 1 byte too short buffer in tda827x.c
- The i2c data buffer in tda827xa_set_params was 1 byte too short
- saa7134-dvb now gives an error mesage if tda827x could not be attached
- coding style fix in tda1004x.c
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda827x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda827x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) }; |