aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/ca0106
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-05-28 16:35:49 +0200
committerJaroslav Kysela <perex@suse.cz>2005-06-22 12:27:14 +0200
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 1c26206b4fb..bfd558c9f3d 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,
}
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++)