aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2009-04-16 08:38:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:40 -0300
commitf2b2fd401343b188f251b29ec2981ea8054ce1b7 (patch)
treecf28f5996d8ba9f28c28f9afc41c5386e43c2be1 /drivers
parentda4b9059c948ce35ce9d34b982b6a9934a9251ef (diff)
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')
-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 738618133b1..3d8a2e01c9c 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;
}