Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138282
b: refs/heads/master
c: 858f910
h: refs/heads/master
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent c92b606 commit fe39f4a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20ae26c84e48b95177e334fa9022f68aa3b77df6
refs/heads/master: 858f910e869d1300c1ab0cadbe9908322f8bfb78
23 changes: 23 additions & 0 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-hdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -4779,6 +4779,29 @@ static unsigned int pvr2_hdw_report_unlocked(struct pvr2_hdw *hdw,int which,
stats.buffers_processed,
stats.buffers_failed);
}
case 6: {
struct v4l2_subdev *sd;
unsigned int tcnt = 0;
unsigned int ccnt;
const char *p;
unsigned int id;
ccnt = scnprintf(buf,
acnt,
"Associted 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);
}
return tcnt;
}
default: break;
}
return 0;
Expand Down

0 comments on commit fe39f4a

Please sign in to comment.