Skip to content

Commit

Permalink
[media] cx25840: enable raw cc processing only for the cx23885 hardware
Browse files Browse the repository at this point in the history
This change is probably good for other boards also, but the change
has limited scope and is reasonably safe.

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 f88fb8e commit 99d3890
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/media/video/cx25840/cx25840-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,13 @@ static void cx231xx_initialize(struct i2c_client *client)

/* start microcontroller */
cx25840_and_or(client, 0x803, ~0x10, 0x10);

/* CC raw enable */
cx25840_write(client, 0x404, 0x0b);

/* CC on */
cx25840_write(client, 0x42f, 0x66);
cx25840_write4(client, 0x474, 0x1e1e601a);
}

/* ----------------------------------------------------------------------- */
Expand Down

0 comments on commit 99d3890

Please sign in to comment.