]> 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)
commit709c4c7eea05497058c8ee8a9409d2a2a811da12
tree58418d45bea3f21f8b9119fa2478250a1852b0b0
parentcd852e730da2d2ed6c8b0505b6b40df1fe516d09
[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