diff options
author | Mike Isely <isely@pobox.com> | 2006-12-30 16:30:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:35 -0500 |
commit | cdef8bd8c6ab69407afaf78226cc9861f916c83d (patch) | |
tree | 5ca46e25c5dae6b36f4f86a5dcbcabd91f4ba128 /drivers/media/video/pvrusb2 | |
parent | 16eb40d37d5dd4dba85245899388d2d44eb0bc2a (diff) |
V4L/DVB (5058): Pvrusb2: bug fix involving switch into radio mode
When the input is switched by opening /dev/radioX, we must also commit
that change into the driver core.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 7a8b34dbc363..8b9089cc32fe 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -921,6 +921,7 @@ static int pvr2_v4l2_open(struct inode *inode, struct file *file) | |||
921 | pvr2_ctrl_set_value( | 921 | pvr2_ctrl_set_value( |
922 | pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT), | 922 | pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT), |
923 | PVR2_CVAL_INPUT_RADIO); | 923 | PVR2_CVAL_INPUT_RADIO); |
924 | pvr2_hdw_commit_ctl(hdw); | ||
924 | } | 925 | } |
925 | 926 | ||
926 | fhp->vnext = NULL; | 927 | fhp->vnext = NULL; |