Skip to content

Commit

Permalink
V4L/DVB (3580): Last round of msp3400 cleanups before adding routing …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 24, 2006
1 parent 9a80a93 commit de533cc
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 85 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/msp3400-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down
Loading

0 comments on commit de533cc

Please sign in to comment.