aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/virtuoso.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-16 02:28:54 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:59 -0500
commit84aa6b7ba746e6f637444d0e14a9b75c0b49a612 (patch)
tree39cfa1399116aa6ecf67d458b315b624f6c48825 /sound/pci/oxygen/virtuoso.c
parent31c77643a06313b3a26f4c38c75ceec2a89ad31a (diff)
[ALSA] oxygen: make SPI configuration configurable
Add a field to the model structure so that it is possible to have a card where the SPI outputs 4 and 5 are used for an EEPROM. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r--sound/pci/oxygen/virtuoso.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c
index bfd1f3c3dfcd..247d5e1ccb68 100644
--- a/sound/pci/oxygen/virtuoso.c
+++ b/sound/pci/oxygen/virtuoso.c
@@ -227,6 +227,7 @@ static const struct oxygen_model model_xonar = {
227 .record_from_dma_b = 1, 227 .record_from_dma_b = 1,
228 .cd_in_from_video_in = 1, 228 .cd_in_from_video_in = 1,
229 .dac_minimum_volume = 15, 229 .dac_minimum_volume = 15,
230 .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5,
230}; 231};
231 232
232static int __devinit xonar_probe(struct pci_dev *pci, 233static int __devinit xonar_probe(struct pci_dev *pci,