Skip to content

Commit

Permalink
V4L/DVB (11379): mxb: fix copy-and-paste bug in mute.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Apr 7, 2009
1 parent 3ff4ad8 commit c0ff291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/mxb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c0ff291

Please sign in to comment.