diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-02-27 22:18:52 +0100 |
---|---|---|
committer | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-02-27 22:18:52 +0100 |
commit | a6002c876c43c5edc0774ab03641943e49fd2a0f (patch) | |
tree | ce8345c61ba258a6f8a6d8d56e4bc2802864dfd2 /linux/drivers/media/dvb/frontends/tda827x.c | |
parent | dc6e8817d776cdb670fd1db1cb48f2ee25c91717 (diff) | |
download | mediapointer-dvb-s2-a6002c876c43c5edc0774ab03641943e49fd2a0f.tar.gz mediapointer-dvb-s2-a6002c876c43c5edc0774ab03641943e49fd2a0f.tar.bz2 |
Fixed 1 byte too short buffer in tda827x.c
From: Hartmut Hackmann <hartmut.hackmann@t-online.de>
- 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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda827x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda827x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda827x.c b/linux/drivers/media/dvb/frontends/tda827x.c index edf7a0a90..8176a9b58 100644 --- a/linux/drivers/media/dvb/frontends/tda827x.c +++ b/linux/drivers/media/dvb/frontends/tda827x.c @@ -214,7 +214,7 @@ static int tda827xa_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params) { struct tda827x_priv *priv = fe->tuner_priv; - u8 buf[10]; + u8 buf[11]; struct i2c_msg msg = { .addr = priv->i2c_addr, .flags = 0, .buf = buf, .len = sizeof(buf) }; |