Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc555aa6 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

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: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 75c4570c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -279,6 +279,7 @@ 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 */
	if (state->has_i2s_conf)
		msp_write_dem(client, 0x40, state->i2s_mode);
}