mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
[ALSA] Be more specific with which I2C channel to use.
CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
This commit is contained in:
parent
883130b476
commit
8fabab15dc
@ -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++)
|
||||||
|
Loading…
Reference in New Issue
Block a user