aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-05 13:24:17 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:04:56 -0400
commit39c4ad6ab364354bf76cdcc0081fa5c4422db907 (patch)
treeb730165939fea241ce6f66d998aa70816348b0bb /drivers
parent9085009683dd46d95105eda14efa8bda403b459f (diff)
V4L/DVB (5999): cx25840: add radio support.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index 65ad7943dd9a..8f9c32613b45 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -251,7 +251,11 @@ static void input_change(struct i2c_client *client)
251 cx25840_and_or(client, 0x401, ~0x60, 0); 251 cx25840_and_or(client, 0x401, ~0x60, 0);
252 cx25840_and_or(client, 0x401, ~0x60, 0x60); 252 cx25840_and_or(client, 0x401, ~0x60, 0x60);
253 253
254 if (std & V4L2_STD_525_60) { 254 if (state->radio) {
255 cx25840_write(client, 0x808, 0xf9);
256 cx25840_write(client, 0x80b, 0x00);
257 }
258 else if (std & V4L2_STD_525_60) {
255 /* Certain Hauppauge PVR150 models have a hardware bug 259 /* Certain Hauppauge PVR150 models have a hardware bug
256 that causes audio to drop out. For these models the 260 that causes audio to drop out. For these models the
257 audio standard must be set explicitly. 261 audio standard must be set explicitly.