diff options
author | Steven Toth <stoth@kernellabs.com> | 2011-10-10 10:09:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-14 16:10:07 -0400 |
commit | 99d389095f3270aaeb021370e01057910d3ef24d (patch) | |
tree | 4d7726fce206779a67e28451002d28efa6e523df /drivers/media/video/cx25840 | |
parent | f88fb8e9385eaec2e7c0527ccc0d947fbbe4c5f9 (diff) |
[media] cx25840: enable raw cc processing only for the cx23885 hardware
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>
Diffstat (limited to 'drivers/media/video/cx25840')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index b7ee2ae70583..8896999ea6ca 100644 --- a/drivers/media/video/cx25840/cx25840-core.c +++ b/drivers/media/video/cx25840/cx25840-core.c | |||
@@ -702,6 +702,13 @@ static void cx231xx_initialize(struct i2c_client *client) | |||
702 | 702 | ||
703 | /* start microcontroller */ | 703 | /* start microcontroller */ |
704 | cx25840_and_or(client, 0x803, ~0x10, 0x10); | 704 | cx25840_and_or(client, 0x803, ~0x10, 0x10); |
705 | |||
706 | /* CC raw enable */ | ||
707 | cx25840_write(client, 0x404, 0x0b); | ||
708 | |||
709 | /* CC on */ | ||
710 | cx25840_write(client, 0x42f, 0x66); | ||
711 | cx25840_write4(client, 0x474, 0x1e1e601a); | ||
705 | } | 712 | } |
706 | 713 | ||
707 | /* ----------------------------------------------------------------------- */ | 714 | /* ----------------------------------------------------------------------- */ |