diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-05 19:24:17 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-05 19:24:17 +0200 |
commit | d6ab3c58972b2dea5def043333835f6d1327f5e9 (patch) | |
tree | 8de33a09cfc40aa7c6822cd23a264570c2de2f89 /linux/drivers | |
parent | 8315c4ec5fb516b640fda3721c4fcf56a1d5db8f (diff) | |
download | mediapointer-dvb-s2-d6ab3c58972b2dea5def043333835f6d1327f5e9.tar.gz mediapointer-dvb-s2-d6ab3c58972b2dea5def043333835f6d1327f5e9.tar.bz2 |
cx25840: add radio support.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index 08b986f05..640ac9bdb 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -262,7 +262,11 @@ static void input_change(struct i2c_client *client) cx25840_and_or(client, 0x401, ~0x60, 0); cx25840_and_or(client, 0x401, ~0x60, 0x60); - if (std & V4L2_STD_525_60) { + if (state->radio) { + cx25840_write(client, 0x808, 0xf9); + cx25840_write(client, 0x80b, 0x00); + } + else if (std & V4L2_STD_525_60) { /* Certain Hauppauge PVR150 models have a hardware bug that causes audio to drop out. For these models the audio standard must be set explicitly. |