Skip to content

Commit

Permalink
V4L/DVB (3662): Don't set msp3400c-non-existent register
Browse files Browse the repository at this point in the history
The driver tried to set a register that is not present on msp3400c devices.
Add the missing test.

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 Apr 2, 2006
1 parent 75c4570 commit dc555aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/msp3400-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ void msp_set_scart(struct i2c_client *client, int in, int out)
msp_write_dsp(client, 0x13, state->acb);

/* Sets I2S speed 0 = 1.024 Mbps, 1 = 2.048 Mbps */
msp_write_dem(client, 0x40, state->i2s_mode);
if (state->has_i2s_conf)
msp_write_dem(client, 0x40, state->i2s_mode);
}

void msp_set_mute(struct i2c_client *client)
Expand Down

0 comments on commit dc555aa

Please sign in to comment.