aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-03-06 23:59:34 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:38 -0400
commit5c6cb4e2512fa50693a28a2edefdaa5cf6c10950 (patch)
tree54bc302a657ce36779b176840a50b52f8154385b /drivers/media/video/pvrusb2/pvrusb2-hdw.c
parent27764726a8fa72a7e8a7cdccbe9e4425747a96fa (diff)
V4L/DVB (11195): pvrusb2: Issue required core init broadcast to all sub-devices
The v4l2-subdev infrastructure requires that an initialization call must be issued to all attached sub-devices before normal operation can start. This change satisfies that requirement. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 1fb9ca560acf..bd46b40eefdc 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2208,6 +2208,8 @@ static void pvr2_hdw_setup_low(struct pvr2_hdw *hdw)
2208 pvr2_hdw_load_modules(hdw); 2208 pvr2_hdw_load_modules(hdw);
2209 if (!pvr2_hdw_dev_ok(hdw)) return; 2209 if (!pvr2_hdw_dev_ok(hdw)) return;
2210 2210
2211 v4l2_device_call_all(&hdw->v4l2_dev, 0, core, init, 0);
2212
2211 for (idx = 0; idx < CTRLDEF_COUNT; idx++) { 2213 for (idx = 0; idx < CTRLDEF_COUNT; idx++) {
2212 cptr = hdw->controls + idx; 2214 cptr = hdw->controls + idx;
2213 if (cptr->info->skip_init) continue; 2215 if (cptr->info->skip_init) continue;