diff options
author | Mike Isely <isely@pobox.com> | 2009-10-11 23:25:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:40:59 -0500 |
commit | aa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb (patch) | |
tree | 1fd691d26f7ba5735c4db67b040f1ce73015ae89 /drivers/media/video/pvrusb2 | |
parent | 00970beb9b51dd1b25c0d91a3f5fe11dd29e38e2 (diff) |
V4L/DVB (13226): pvrusb2: Add hardware description to debuginfo output
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-debugifc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c index fbe3856bdca6..010018bc8383 100644 --- 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) | |||
142 | { | 142 | { |
143 | int bcnt = 0; | 143 | int bcnt = 0; |
144 | int ccnt; | 144 | int ccnt; |
145 | ccnt = scnprintf(buf, acnt, "Driver hardware description: %s\n", | ||
146 | pvr2_hdw_get_desc(hdw)); | ||
147 | bcnt += ccnt; acnt -= ccnt; buf += ccnt; | ||
145 | ccnt = scnprintf(buf,acnt,"Driver state info:\n"); | 148 | ccnt = scnprintf(buf,acnt,"Driver state info:\n"); |
146 | bcnt += ccnt; acnt -= ccnt; buf += ccnt; | 149 | bcnt += ccnt; acnt -= ccnt; buf += ccnt; |
147 | ccnt = pvr2_hdw_state_report(hdw,buf,acnt); | 150 | ccnt = pvr2_hdw_state_report(hdw,buf,acnt); |