[ALSA] Be more specific with which I2C channel to use.
authorJames Courtier-Dutton <James@superbug.co.uk>
Sat, 28 May 2005 14:35:49 +0000 (16:35 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Jun 2005 10:27:14 +0000 (12:27 +0200)
CA0106 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
sound/pci/ca0106/ca0106_main.c

index 1c26206..bfd558c 100644 (file)
@@ -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++)