summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv6110x.c
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2009-04-16 15:38:46 +0400
committerManu Abraham <manu@linuxtv.org>2009-04-16 15:38:46 +0400
commit9cb965cb8b28ed6832410d2b6b5f709f08bb3a47 (patch)
treee1fa4795083c40ce0a25a3dd6b4abefbc86695d5 /linux/drivers/media/dvb/frontends/stv6110x.c
parent0d047c69b6b735f6fc53dcbc268fe5a106e9efde (diff)
downloadmediapointer-dvb-s2-9cb965cb8b28ed6832410d2b6b5f709f08bb3a47.tar.gz
mediapointer-dvb-s2-9cb965cb8b28ed6832410d2b6b5f709f08bb3a47.tar.bz2
Fix read bug in STV6110x
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv6110x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stv6110x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv6110x.c b/linux/drivers/media/dvb/frontends/stv6110x.c
index c818e21f4..cca32f3d6 100644
--- a/linux/drivers/media/dvb/frontends/stv6110x.c
+++ b/linux/drivers/media/dvb/frontends/stv6110x.c
@@ -53,6 +53,7 @@ static int stv6110x_read_reg(struct stv6110x_state *stv6110x, u8 reg, u8 *data)
dprintk(FE_ERROR, 1, "I/O Error");
return -EREMOTEIO;
}
+ *data = b1[0];
return 0;
}