]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
V4L/DVB (13881): gspca - stv06xx: Clean up the dump bridge function
authorErik Andrén <erik.andren@gmail.com>
Sat, 26 Dec 2009 21:00:02 +0000 (18:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:27 +0000 (15:10 -0300)
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/stv06xx/stv06xx.c

index 5d0241bb161182c97be03c49220326bbcf4e2552..de823edd8ec3d05a65fe50aed84288262bd424f9 100644 (file)
@@ -219,6 +219,7 @@ static void stv06xx_dump_bridge(struct sd *sd)
                info("Read 0x%x from address 0x%x", data, i);
        }
 
+       info("Testing stv06xx bridge registers for writability");
        for (i = 0x1400; i < 0x160f; i++) {
                stv06xx_read_bridge(sd, i, &data);
                buf = data;
@@ -229,7 +230,7 @@ static void stv06xx_dump_bridge(struct sd *sd)
                        info("Register 0x%x is read/write", i);
                else if (data != buf)
                        info("Register 0x%x is read/write,"
-                            "but only partially", i);
+                            " but only partially", i);
                else
                        info("Register 0x%x is read-only", i);