diff options
author | Mike Isely <isely@pobox.com> | 2009-03-06 22:59:34 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2009-03-06 22:59:34 -0600 |
commit | 4d479b4a45faee008fde536747affbf070d28379 (patch) | |
tree | 5952e05ca5cc07f96fb77affcc4a896b2dfd9a94 | |
parent | 8299e0bc7422fc44591a910a1c011e959e623a1a (diff) | |
download | mediapointer-dvb-s2-4d479b4a45faee008fde536747affbf070d28379.tar.gz mediapointer-dvb-s2-4d479b4a45faee008fde536747affbf070d28379.tar.bz2 |
pvrusb2: Issue required core init broadcast to all sub-devices
From: Mike Isely <isely@pobox.com>
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.
Priority: normal
Signed-off-by: Mike Isely <isely@pobox.com>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index c4cb3b5e4..8e368e004 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -2225,6 +2225,8 @@ static void pvr2_hdw_setup_low(struct pvr2_hdw *hdw) pvr2_hdw_load_modules(hdw); if (!pvr2_hdw_dev_ok(hdw)) return; + v4l2_device_call_all(&hdw->v4l2_dev, 0, core, init, 0); + for (idx = 0; idx < CTRLDEF_COUNT; idx++) { cptr = hdw->controls + idx; if (cptr->info->skip_init) continue; |