Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138294
b: refs/heads/master
c: 5f757dd
h: refs/heads/master
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent b1e2ff9 commit 3a787d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ab8d295156a43fc2751483d2f82a63c97489f89
refs/heads/master: 5f757ddd5f193f54a5a7498d32568b630583503e
16 changes: 11 additions & 5 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-hdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -4855,18 +4855,24 @@ static unsigned int pvr2_hdw_report_unlocked(struct pvr2_hdw *hdw,int which,
unsigned int id;
ccnt = scnprintf(buf,
acnt,
"Associted v4l2_subdev drivers:");
"Associated v4l2_subdev drivers:");
tcnt += ccnt;
v4l2_device_for_each_subdev(sd, &hdw->v4l2_dev) {
id = sd->grp_id;
p = NULL;
if (id < ARRAY_SIZE(module_names)) {
p = module_names[id];
}
if (!p) p = "(unknown)";
ccnt = scnprintf(buf + tcnt,
acnt - tcnt,
" %s (%u)", p, id);
if (p) {
ccnt = scnprintf(buf + tcnt,
acnt - tcnt,
" %s", p);
} else {
ccnt = scnprintf(buf + tcnt,
acnt - tcnt,
" (unknown id=%u)", id);
}
tcnt += ccnt;
}
return tcnt;
}
Expand Down

0 comments on commit 3a787d3

Please sign in to comment.