summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-12-30 15:30:12 -0600
committerMike Isely <isely@pobox.com>2006-12-30 15:30:12 -0600
commit49e926fe25c7baa26beca661f09d9fdadf8e389f (patch)
tree1f84f302e2d7c7cd19e3e9172ba462a7d7e9f26f /linux
parent542b02dde57f8cb8c6aa69f1416c84d24593df94 (diff)
downloadmediapointer-dvb-s2-49e926fe25c7baa26beca661f09d9fdadf8e389f.tar.gz
mediapointer-dvb-s2-49e926fe25c7baa26beca661f09d9fdadf8e389f.tar.bz2
pvrusb2: bug fix involving switch into radio mode
From: Mike Isely <isely@pobox.com> 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>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index a5eefdc8f..36e368866 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -937,6 +937,7 @@ static int pvr2_v4l2_open(struct inode *inode, struct file *file)
pvr2_ctrl_set_value(
pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT),
PVR2_CVAL_INPUT_RADIO);
+ pvr2_hdw_commit_ctl(hdw);
}
fhp->vnext = NULL;