Skip to content

Commit

Permalink
[media] cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 14, 2011
1 parent 33cdeb3 commit 52422e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/cx25840/cx25840-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,8 @@ static int set_input(struct i2c_client *client, enum cx25840_video_input vid_inp
cx25840_write(client, 0x919, 0x01);
}

if (is_cx2388x(state) && (aud_input == CX25840_AUDIO7)) {
if (is_cx2388x(state) && ((aud_input == CX25840_AUDIO7) ||
(aud_input == CX25840_AUDIO6))) {
/* Configure audio from LR1 or LR2 input */
cx25840_write4(client, 0x910, 0);
cx25840_write4(client, 0x8d0, 0x63073);
Expand Down

0 comments on commit 52422e3

Please sign in to comment.