diff options
author | Daniel Glöckner <daniel-gl@gmx.net> | 2012-06-09 21:43:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-18 20:46:36 -0300 |
commit | 00fb18503fee608beee5fb11cb8a6db8533e7e86 (patch) | |
tree | b844b93a7bfbbe281b83474cf3ade15750999556 | |
parent | f952848ddd441003ebd312533edf800f4c77a9aa (diff) | |
download | linux-00fb18503fee608beee5fb11cb8a6db8533e7e86.tar.gz linux-00fb18503fee608beee5fb11cb8a6db8533e7e86.tar.bz2 linux-00fb18503fee608beee5fb11cb8a6db8533e7e86.zip |
[media] tvaudio: use V4L2_TUNER_MODE_SAP for TDA985x SAP
As V4L2_TUNER_MODE_SAP == V4L2_TUNER_MODE_LANG2, we make
V4L2_TUNER_MODE_LANG1 equal to V4L2_TUNER_MODE_STEREO.
Signed-off-by: Daniel Glöckner <daniel-gl@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/tvaudio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 76a8cbe2085d..3fbaaa0494c2 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c @@ -534,9 +534,10 @@ static void tda985x_setmode(struct CHIPSTATE *chip, int mode) c6 |= TDA985x_MONO; break; case V4L2_TUNER_MODE_STEREO: + case V4L2_TUNER_MODE_LANG1: c6 |= TDA985x_STEREO; break; - case V4L2_TUNER_MODE_LANG1: + case V4L2_TUNER_MODE_SAP: c6 |= TDA985x_SAP; break; default: |