diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-03-28 16:32:52 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 03:55:47 -0400 |
commit | dc555aa63c798af097f5c303bcf72a8390b03da5 (patch) | |
tree | 72d755f7c28923519834048a765c92292c187596 /drivers/media | |
parent | 75c4570ca4849b089c4edfc14bf02b4720087aba (diff) |
V4L/DVB (3662): Don't set msp3400c-non-existent register
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/msp3400-driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c index c40e8ba9a2ea..12a83ec7872c 100644 --- a/drivers/media/video/msp3400-driver.c +++ b/drivers/media/video/msp3400-driver.c | |||
@@ -279,7 +279,8 @@ void msp_set_scart(struct i2c_client *client, int in, int out) | |||
279 | msp_write_dsp(client, 0x13, state->acb); | 279 | msp_write_dsp(client, 0x13, state->acb); |
280 | 280 | ||
281 | /* Sets I2S speed 0 = 1.024 Mbps, 1 = 2.048 Mbps */ | 281 | /* Sets I2S speed 0 = 1.024 Mbps, 1 = 2.048 Mbps */ |
282 | msp_write_dem(client, 0x40, state->i2s_mode); | 282 | if (state->has_i2s_conf) |
283 | msp_write_dem(client, 0x40, state->i2s_mode); | ||
283 | } | 284 | } |
284 | 285 | ||
285 | void msp_set_mute(struct i2c_client *client) | 286 | void msp_set_mute(struct i2c_client *client) |