summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-28 08:18:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 16:55:38 -0200
commitba1066d2e9686a5c96c5c0dfcbda7f874fa7b88d (patch)
tree885080bd0311655ff9ec34a4f8a2b1b279cddfc6 /drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
parent84a15ded76ec8ec23d84974238b7864813143655 (diff)
[media] tuner-core: map audmode to STEREO for radio devices
Fixes a v4l2-compliance error: setting audmode to a value other than mono or stereo for a radio device should map to MODE_STEREO. The spec specifies that for radio devices only mono and stereo audmodes are valid. If the user specifies another audmode in v4l2_tuner, then that should be mapped to valid audmode. That didn't happen here. Note that tuner drivers might decide to limit the possible audmode even further if it only supports mono. In that case the tuner driver can set audmode to mono. However, that new value wasn't copied back to t->audmode, and that has been fixed as well in this patch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c')
0 files changed, 0 insertions, 0 deletions