projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f952848
)
[media] tvaudio: use V4L2_TUNER_MODE_SAP for TDA985x SAP
author
Daniel Glöckner
<daniel-gl@gmx.net>
Sun, 10 Jun 2012 00:43:52 +0000
(21:43 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 18 Jun 2012 23:46:36 +0000
(20:46 -0300)
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>
drivers/media/video/tvaudio.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/tvaudio.c
b/drivers/media/video/tvaudio.c
index
76a8cbe
..
3fbaaa0
100644
(file)
--- 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: