From 84aa6b7ba746e6f637444d0e14a9b75c0b49a612 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Wed, 16 Jan 2008 08:28:54 +0100 Subject: [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 Signed-off-by: Jaroslav Kysela --- sound/pci/oxygen/oxygen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/pci/oxygen/oxygen.c') diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index ecc0e6f9d27..83c6fab425f 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c @@ -256,6 +256,7 @@ static const struct oxygen_model model_generic = { .update_dac_volume = update_ak4396_volume, .update_dac_mute = update_ak4396_mute, .dac_tlv = ak4396_db_scale, + .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, }; static const struct oxygen_model model_meridian = { .shortname = "C-Media CMI8788", @@ -270,6 +271,7 @@ static const struct oxygen_model model_meridian = { .update_dac_mute = update_ak4396_mute, .dac_tlv = ak4396_db_scale, .record_from_dma_b = 1, + .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, }; static int __devinit generic_oxygen_probe(struct pci_dev *pci, -- cgit v1.2.3