Commit cdef8bd8 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab

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: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 16eb40d3
...@@ -921,6 +921,7 @@ static int pvr2_v4l2_open(struct inode *inode, struct file *file) ...@@ -921,6 +921,7 @@ static int pvr2_v4l2_open(struct inode *inode, struct file *file)
pvr2_ctrl_set_value( pvr2_ctrl_set_value(
pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT), pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_INPUT),
PVR2_CVAL_INPUT_RADIO); PVR2_CVAL_INPUT_RADIO);
pvr2_hdw_commit_ctl(hdw);
} }
fhp->vnext = NULL; fhp->vnext = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment