summaryrefslogtreecommitdiff
path: root/drivers/media/video/msp3400-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-03-19 08:21:56 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-24 16:26:57 -0300
commitde533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9 (patch)
treea82aedd3ae45a9455c24cda20e51cd8e7596182f /drivers/media/video/msp3400-driver.c
parent9a80a93da738c631de644175fbd669ab9a9cb624 (diff)
downloadlinux-rpi3-de533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9.tar.gz
linux-rpi3-de533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9.tar.bz2
linux-rpi3-de533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9.zip
V4L/DVB (3580): Last round of msp3400 cleanups before adding routing commands
Lots of cleanups: - remove duplicate actions - add D/K3 Dual FM-Stereo and D/K NICAM FM (HDEV3) support - put prescales in the proper place - add missing D/K NICAM - msp34xxg_reset now only resets instead of also starting the autodetect (moved that to msp34xxg_thread) - fix support for SAP. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/msp3400-driver.c')
-rw-r--r--drivers/media/video/msp3400-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c
index 2d59d041f368..9a47ba22c133 100644
--- a/drivers/media/video/msp3400-driver.c
+++ b/drivers/media/video/msp3400-driver.c
@@ -622,6 +622,7 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
if (va->mode != 0 && state->radio == 0) {
state->audmode = msp_mode_v4l1_to_v4l2(va->mode);
+ msp_set_audmode(client);
}
break;
}
@@ -707,7 +708,6 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
if (scart >= 0) {
state->rxsubchans = V4L2_TUNER_SUB_STEREO;
msp_set_scart(client, scart, 0);
- msp_write_dsp(client, 0x000d, 0x1900);
}
msp_set_audmode(client);
msp_wake_thread(client);