The patch number 9951 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [email protected]

------

From: Mauro Carvalho Chehab  <[email protected]>
v4l2-dbg: print also register number when name is available


Priority: normal

Signed-off-by: Mauro Carvalho Chehab <[email protected]>


---

 v4l2-apps/util/v4l2-dbg.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -r c38488ae8568 -r e1b72631405a v4l2-apps/util/v4l2-dbg.cpp
--- a/v4l2-apps/util/v4l2-dbg.cpp       Mon Dec 22 10:17:16 2008 -0200
+++ b/v4l2-apps/util/v4l2-dbg.cpp       Mon Dec 22 10:19:13 2008 -0200
@@ -555,7 +555,7 @@ int main(int argc, char **argv)
                                printf("Register ");
 
                                if (name)
-                                       printf("%s", name);
+                                       printf("%s (0x%08llx)", name, 
set_reg.reg);
                                else
                                        printf("0x%08llx", set_reg.reg);
 
@@ -616,7 +616,7 @@ int main(int argc, char **argv)
                                printf("Register ");
 
                                if (name)
-                                       printf("%s", name);
+                                       printf("%s (0x%08llx)", name, 
get_reg.reg);
                                else
                                        printf("0x%08llx", get_reg.reg);
 


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/e1b72631405a3d88dab1664c57e3a35ce7d0b8f3

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to