]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
V4L/DVB (11592): stv6110x: Fix read bug
authorAndreas Regel <andreas.regel@gmx.de>
Thu, 16 Apr 2009 11:38:46 +0000 (08:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:40 +0000 (18:20 -0300)
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>
drivers/media/dvb/frontends/stv6110x.c

index 738618133b16e8fbf6256f0ec1e0a572ad58e6c8..3d8a2e01c9c45a79e8175b382c7f090e8852f466 100644 (file)
@@ -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;
 }