diff options
author | Andy Owen <andy-alsa@ultra-premium.com> | 2010-10-23 22:12:32 +1100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-23 16:59:40 +0200 |
commit | 6fef153afa8b25f81417488150e04db7c6b0b229 (patch) | |
tree | 84d03bfe267bf85eb80fedaa70823968840de7bf /sound/pci/ca0106/ca0106.h | |
parent | 861391d3a037fab38020c741baffdb147e1c732a (diff) | |
download | blackbird-obmc-linux-6fef153afa8b25f81417488150e04db7c6b0b229.tar.gz blackbird-obmc-linux-6fef153afa8b25f81417488150e04db7c6b0b229.zip |
ALSA: ca0106: Allow different sound cards to use different SPI channel mappings.
Signed-off-by: Andy Owen <andy-alsa@ultra-premium.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ca0106/ca0106.h')
-rw-r--r-- | sound/pci/ca0106/ca0106.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/ca0106/ca0106.h b/sound/pci/ca0106/ca0106.h index 14b8d9a91aae..f19c11077255 100644 --- a/sound/pci/ca0106/ca0106.h +++ b/sound/pci/ca0106/ca0106.h @@ -670,8 +670,9 @@ struct snd_ca0106_details { gpio_type = 2 -> shared side-out/line-in. */ int i2c_adc; /* with i2c_adc=1, the driver adds some capture volume controls, phone, mic, line-in and aux. */ - int spi_dac; /* spi_dac=1 adds the mute switch for each analog - output, front, rear, etc. */ + u16 spi_dac; /* spi_dac = 0 -> no spi interface for DACs + spi_dac = 0x<front><rear><center-lfe><side> + -> specifies DAC id for each channel pair. */ }; // definition of the chip-specific record |