提交 00fb1850 编写于 作者: D Daniel Glöckner 提交者: Mauro Carvalho Chehab

[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: NDaniel Glöckner <daniel-gl@gmx.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f952848d
...@@ -534,9 +534,10 @@ static void tda985x_setmode(struct CHIPSTATE *chip, int mode) ...@@ -534,9 +534,10 @@ static void tda985x_setmode(struct CHIPSTATE *chip, int mode)
c6 |= TDA985x_MONO; c6 |= TDA985x_MONO;
break; break;
case V4L2_TUNER_MODE_STEREO: case V4L2_TUNER_MODE_STEREO:
case V4L2_TUNER_MODE_LANG1:
c6 |= TDA985x_STEREO; c6 |= TDA985x_STEREO;
break; break;
case V4L2_TUNER_MODE_LANG1: case V4L2_TUNER_MODE_SAP:
c6 |= TDA985x_SAP; c6 |= TDA985x_SAP;
break; break;
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册