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

Commit 8fabab15 authored by James Courtier-Dutton's avatar James Courtier-Dutton Committed by Jaroslav Kysela
Browse files

[ALSA] Be more specific with which I2C channel to use.



CA0106 driver

Signed-off-by: default avatarJames Courtier-Dutton <James@superbug.co.uk>
parent 883130b4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -277,7 +277,10 @@ int snd_ca0106_i2c_write(ca0106_t *emu,
	}

	tmp = reg << 25 | value << 16;
	snd_ca0106_ptr_write(emu, I2C_D0, 0, tmp);
	/* Not sure what this I2C channel controls. */
	/* snd_ca0106_ptr_write(emu, I2C_D0, 0, tmp); */

	/* This controls the I2C connected to the WM8775 ADC Codec */
	snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp);

	for(retry=0;retry<10;retry++)