aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa717x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa717x.c')
-rw-r--r--drivers/media/video/saa717x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa717x.c b/drivers/media/video/saa717x.c
index b15c40908e8..6818df57116 100644
--- a/drivers/media/video/saa717x.c
+++ b/drivers/media/video/saa717x.c
@@ -1115,7 +1115,7 @@ static int saa717x_s_video_routing(struct v4l2_subdev *sd,
1115 v4l2_dbg(1, debug, sd, "decoder set input (%d)\n", input); 1115 v4l2_dbg(1, debug, sd, "decoder set input (%d)\n", input);
1116 /* inputs from 0-9 are available*/ 1116 /* inputs from 0-9 are available*/
1117 /* saa717x have mode0-mode9 but mode5 is reserved. */ 1117 /* saa717x have mode0-mode9 but mode5 is reserved. */
1118 if (input < 0 || input > 9 || input == 5) 1118 if (input > 9 || input == 5)
1119 return -EINVAL; 1119 return -EINVAL;
1120 1120
1121 if (decoder->input != input) { 1121 if (decoder->input != input) {
@@ -1312,7 +1312,7 @@ static int saa717x_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
1312 "MONO", "STEREO", "LANG1", "LANG2/SAP" 1312 "MONO", "STEREO", "LANG1", "LANG2/SAP"
1313 }; 1313 };
1314 1314
1315 audio_mode = V4L2_TUNER_MODE_STEREO; 1315 audio_mode = TUNER_AUDIO_STEREO;
1316 1316
1317 switch (vt->audmode) { 1317 switch (vt->audmode) {
1318 case V4L2_TUNER_MODE_MONO: 1318 case V4L2_TUNER_MODE_MONO: