diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-03-19 03:20:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:28 -0400 |
commit | 87eedd2fd409d5cd515ccd6fc454cef15c5fa38b (patch) | |
tree | c955e0f3073e743e00f01a8aad8fe55b09d6556c /sound/pci/oxygen/virtuoso.c | |
parent | f009ad9b39e6484d8e36e9e5029c07eab8c12e8f (diff) |
[ALSA] oxygen: make SPI/2-wire configuration model-specific
Allow the model drivers to specify if the codec communication goes over
SPI or a 2-wire bus.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 5cd1fac14132..5bf3661ab1fe 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -353,7 +353,8 @@ static const struct oxygen_model model_xonar = { | |||
353 | CAPTURE_0_FROM_I2S_2 | | 353 | CAPTURE_0_FROM_I2S_2 | |
354 | CAPTURE_1_FROM_SPDIF, | 354 | CAPTURE_1_FROM_SPDIF, |
355 | .dac_channels = 8, | 355 | .dac_channels = 8, |
356 | .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, | 356 | .function_flags = OXYGEN_FUNCTION_SPI | |
357 | OXYGEN_FUNCTION_ENABLE_SPI_4_5, | ||
357 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, | 358 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, |
358 | .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST, | 359 | .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST, |
359 | }; | 360 | }; |