提交 dc555aa6 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

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: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 75c4570c
...@@ -279,7 +279,8 @@ void msp_set_scart(struct i2c_client *client, int in, int out) ...@@ -279,7 +279,8 @@ void msp_set_scart(struct i2c_client *client, int in, int out)
msp_write_dsp(client, 0x13, state->acb); msp_write_dsp(client, 0x13, state->acb);
/* Sets I2S speed 0 = 1.024 Mbps, 1 = 2.048 Mbps */ /* 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) void msp_set_mute(struct i2c_client *client)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册