projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00970be
)
V4L/DVB (13226): pvrusb2: Add hardware description to debuginfo output
author
Mike Isely
<isely@pobox.com>
Mon, 12 Oct 2009 03:25:09 +0000
(
00:25
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:59 +0000
(18:40 -0200)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-debugifc.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
index fbe3856bdca650571dd65fffb8fd950e99387121..010018bc8383158a37cad7472daa2d2ea4bdcb8a 100644
(file)
--- a/
drivers/media/video/pvrusb2/pvrusb2-debugifc.c
+++ b/
drivers/media/video/pvrusb2/pvrusb2-debugifc.c
@@
-142,6
+142,9
@@
int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt)
{
int bcnt = 0;
int ccnt;
+ ccnt = scnprintf(buf, acnt, "Driver hardware description: %s\n",
+ pvr2_hdw_get_desc(hdw));
+ bcnt += ccnt; acnt -= ccnt; buf += ccnt;
ccnt = scnprintf(buf,acnt,"Driver state info:\n");
bcnt += ccnt; acnt -= ccnt; buf += ccnt;
ccnt = pvr2_hdw_state_report(hdw,buf,acnt);