[media] tda9840: fix setting of the audio mode
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 1 May 2012 13:06:40 +0000 (10:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 17:57:02 +0000 (14:57 -0300)
commit8bb5bafa8057a91613d50f7b0bec025852360237
tree8e71d9c2852b0d27ee7d4b3c168d374d16315031
parentaaab4951a688e4c3f43e0ce09855718e9ad5060d
[media] tda9840: fix setting of the audio mode

You have to first detect the current rxsubchans (mono, stereo or bilingual),
and depending on that you can set the audio mode. It does not automatically
switch when the audio channels change.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tda9840.c