aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/hifier.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-03-19 03:20:13 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:28 -0400
commit87eedd2fd409d5cd515ccd6fc454cef15c5fa38b (patch)
treec955e0f3073e743e00f01a8aad8fe55b09d6556c /sound/pci/oxygen/hifier.c
parentf009ad9b39e6484d8e36e9e5029c07eab8c12e8f (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/hifier.c')
-rw-r--r--sound/pci/oxygen/hifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/hifier.c b/sound/pci/oxygen/hifier.c
index fa489ed3ed46..143d83d916dc 100644
--- a/sound/pci/oxygen/hifier.c
+++ b/sound/pci/oxygen/hifier.c
@@ -164,7 +164,7 @@ static const struct oxygen_model model_hifier = {
164 PLAYBACK_1_TO_SPDIF | 164 PLAYBACK_1_TO_SPDIF |
165 CAPTURE_0_FROM_I2S_1, 165 CAPTURE_0_FROM_I2S_1,
166 .dac_channels = 2, 166 .dac_channels = 2,
167 .function_flags = 0, 167 .function_flags = OXYGEN_FUNCTION_SPI,
168 .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, 168 .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST,
169 .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST, 169 .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST,
170}; 170};