aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/stv06xx/stv06xx.c
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2009-12-26 16:00:02 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:27 -0500
commit6a1b262fac3b013b0b8afaf1fb23e6020e58fe02 (patch)
treef58e0bad6038d2c5fb8ae4bea946c4b5612a6281 /drivers/media/video/gspca/stv06xx/stv06xx.c
parentfb8253baa0852bb628b6f4fed1ed0b8ae20e4e3c (diff)
V4L/DVB (13881): gspca - stv06xx: Clean up the dump bridge function
Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/stv06xx/stv06xx.c')
-rw-r--r--drivers/media/video/gspca/stv06xx/stv06xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c
index 5d0241bb1611..de823edd8ec3 100644
--- a/drivers/media/video/gspca/stv06xx/stv06xx.c
+++ b/drivers/media/video/gspca/stv06xx/stv06xx.c
@@ -219,6 +219,7 @@ static void stv06xx_dump_bridge(struct sd *sd)
219 info("Read 0x%x from address 0x%x", data, i); 219 info("Read 0x%x from address 0x%x", data, i);
220 } 220 }
221 221
222 info("Testing stv06xx bridge registers for writability");
222 for (i = 0x1400; i < 0x160f; i++) { 223 for (i = 0x1400; i < 0x160f; i++) {
223 stv06xx_read_bridge(sd, i, &data); 224 stv06xx_read_bridge(sd, i, &data);
224 buf = data; 225 buf = data;
@@ -229,7 +230,7 @@ static void stv06xx_dump_bridge(struct sd *sd)
229 info("Register 0x%x is read/write", i); 230 info("Register 0x%x is read/write", i);
230 else if (data != buf) 231 else if (data != buf)
231 info("Register 0x%x is read/write," 232 info("Register 0x%x is read/write,"
232 "but only partially", i); 233 " but only partially", i);
233 else 234 else
234 info("Register 0x%x is read-only", i); 235 info("Register 0x%x is read-only", i);
235 236