summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv6110x.c
diff options
context:
space:
mode:
authorAndreas Regel2009-04-16 13:38:46 +0200
committerMauro Carvalho Chehab2009-06-16 23:20:40 +0200
commitf2b2fd401343b188f251b29ec2981ea8054ce1b7 (patch)
treecf28f5996d8ba9f28c28f9afc41c5386e43c2be1 /drivers/media/dvb/frontends/stv6110x.c
parentV4L/DVB (11591): stv090x: code simplification (diff)
downloadkernel-qcow2-linux-f2b2fd401343b188f251b29ec2981ea8054ce1b7.tar.gz
kernel-qcow2-linux-f2b2fd401343b188f251b29ec2981ea8054ce1b7.tar.xz
kernel-qcow2-linux-f2b2fd401343b188f251b29ec2981ea8054ce1b7.zip
V4L/DVB (11592): stv6110x: Fix read bug
Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stv6110x.c')
-rw-r--r--drivers/media/dvb/frontends/stv6110x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv6110x.c b/drivers/media/dvb/frontends/stv6110x.c
index 738618133b16..3d8a2e01c9c4 100644
--- a/drivers/media/dvb/frontends/stv6110x.c
+++ b/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;
}