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

[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
...@@ -277,7 +277,10 @@ int snd_ca0106_i2c_write(ca0106_t *emu, ...@@ -277,7 +277,10 @@ int snd_ca0106_i2c_write(ca0106_t *emu,
} }
tmp = reg << 25 | value << 16; 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); snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp);
for(retry=0;retry<10;retry++) for(retry=0;retry<10;retry++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment