aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-05-28 10:35:49 -0400
committerJaroslav Kysela <perex@suse.cz>2005-06-22 06:27:14 -0400
commit8fabab15dc64d4aaed0e9dddf3482c128a0347a2 (patch)
treedda1e57f825d9b395c706525a4c7cc1c07c7a09d /sound/pci/ca0106
parent883130b476e7f8baa608dabe52c455ac351f7c39 (diff)
[ALSA] Be more specific with which I2C channel to use.
CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/ca0106')
-rw-r--r--sound/pci/ca0106/ca0106_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index 1c26206b4fb9..bfd558c9f3d5 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -277,7 +277,10 @@ int snd_ca0106_i2c_write(ca0106_t *emu,
277 } 277 }
278 278
279 tmp = reg << 25 | value << 16; 279 tmp = reg << 25 | value << 16;
280 snd_ca0106_ptr_write(emu, I2C_D0, 0, tmp); 280 /* Not sure what this I2C channel controls. */
281 /* snd_ca0106_ptr_write(emu, I2C_D0, 0, tmp); */
282
283 /* This controls the I2C connected to the WM8775 ADC Codec */
281 snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp); 284 snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp);
282 285
283 for(retry=0;retry<10;retry++) 286 for(retry=0;retry<10;retry++)