aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorDaniel Glöckner <daniel-gl@gmx.net>2012-06-09 20:43:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-18 19:46:36 -0400
commit00fb18503fee608beee5fb11cb8a6db8533e7e86 (patch)
treeb844b93a7bfbbe281b83474cf3ade15750999556 /drivers/media/video/tvaudio.c
parentf952848ddd441003ebd312533edf800f4c77a9aa (diff)
[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>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r--drivers/media/video/tvaudio.c3
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)
534 c6 |= TDA985x_MONO; 534 c6 |= TDA985x_MONO;
535 break; 535 break;
536 case V4L2_TUNER_MODE_STEREO: 536 case V4L2_TUNER_MODE_STEREO:
537 case V4L2_TUNER_MODE_LANG1:
537 c6 |= TDA985x_STEREO; 538 c6 |= TDA985x_STEREO;
538 break; 539 break;
539 case V4L2_TUNER_MODE_LANG1: 540 case V4L2_TUNER_MODE_SAP:
540 c6 |= TDA985x_SAP; 541 c6 |= TDA985x_SAP;
541 break; 542 break;
542 default: 543 default: