V4L/DVB (11379): mxb: fix copy-and-paste bug in mute.
Hans Verkuil [Wed, 1 Apr 2009 23:22:26 +0000 (20:22 -0300)]
The line-in was muted twice instead of the line-in and the cd-in.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/video/mxb.c

index 6a52b1d..a547c85 100644 (file)
@@ -298,8 +298,8 @@ static int mxb_init_done(struct saa7146_dev* dev)
        /* mute audio on tea6420s */
        tea6420_1_call(mxb, audio, s_routing, &TEA6420_line[6][0]);
        tea6420_2_call(mxb, audio, s_routing, &TEA6420_line[6][1]);
-       tea6420_1_call(mxb, audio, s_routing, &TEA6420_line[6][0]);
-       tea6420_2_call(mxb, audio, s_routing, &TEA6420_line[6][1]);
+       tea6420_1_call(mxb, audio, s_routing, &TEA6420_cd[6][0]);
+       tea6420_2_call(mxb, audio, s_routing, &TEA6420_cd[6][1]);
 
        /* switch to tuner-channel on tea6415c */
        route.input = 3;