]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tvaudio: obey V4L2 tuner audio matrix
authorDaniel Glöckner <daniel-gl@gmx.net>
Sun, 10 Jun 2012 00:43:56 +0000 (21:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Jun 2012 23:46:40 +0000 (20:46 -0300)
commit0534428fa514aac933b8d331ac50ab0b12fc1e65
tree58418d45bea3f21f8b9119fa2478250a1852b0b0
parent44ef7912b8fa431fab42ba23fa1f9cd892496760
[media] tvaudio: obey V4L2 tuner audio matrix

V4L2 specifies the audio mode to use for combinations of possible
(rxsubchans) and requested (audmode) audio modes. Up to now tvaudio
has made these decisions automatically based on the possible audio
modes from setting of the frequency until VIDIOC_S_TUNER was called.
It then forced the hardware to use the mode requested by the user.
With this patch it continues to adjust the audio mode while taking
the requested mode into account.

Signed-off-by: Daniel Glöckner <daniel-gl@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvaudio.c