linux/drivers/media
Hans Verkuil ba1066d2e9 [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>
2013-02-05 16:55:38 -02:00
..
common [media] media: saa7146: don't use mutex_lock_interruptible() in device_release() 2012-12-27 17:34:28 -02:00
dvb-core [media] dvb_frontend: print a msg if a property doesn't exist 2013-01-23 19:10:57 -02:00
dvb-frontends [media] stv090x: On STV0903 do not set registers of the second path 2013-01-24 18:31:00 -02:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] V4L: Add driver for OV9650/52 image sensors 2013-02-05 15:21:15 -02:00
mmc Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] saa7164: silence GCC warnings 2013-02-05 13:50:14 -02:00
platform [media] omap3isp: Fix histogram regions 2013-02-05 14:50:49 -02:00
radio [media] radio/si470x/radio-si470x.h: use IS_ENABLED() macro 2013-02-05 14:52:46 -02:00
rc [media] imon: fix Knob event interpretation issues on ARM 2013-02-01 07:13:59 -02:00
tuners [media] fc0012: remove unused callback and correct one comment 2013-01-06 09:09:06 -02:00
usb [media] pwc: Don't return EINVAL when an unsupported pixelformat is requested 2013-02-05 14:54:47 -02:00
v4l2-core [media] tuner-core: map audmode to STEREO for radio devices 2013-02-05 16:55:38 -02:00
Kconfig [media] Improve media Kconfig menu 2012-12-27 18:40:09 -02:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c