V4L/DVB (11379): mxb: fix copy-and-paste bug in mute.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 1 Apr 2009 23:22:26 +0000 (20:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:27 +0000 (21:44 -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 6a52b1d5f7ba36332e0a51a8ccf7cf6f45936823..a547c85b4ca780e5f5064d83d20dbcfb5d4aa8ab 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;