diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-16 08:28:54 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:29:59 +0100 |
commit | 84aa6b7ba746e6f637444d0e14a9b75c0b49a612 (patch) | |
tree | 39cfa1399116aa6ecf67d458b315b624f6c48825 /sound/pci/oxygen/oxygen_lib.c | |
parent | 31c77643a06313b3a26f4c38c75ceec2a89ad31a (diff) | |
download | kernel_samsung_aries-84aa6b7ba746e6f637444d0e14a9b75c0b49a612.zip kernel_samsung_aries-84aa6b7ba746e6f637444d0e14a9b75c0b49a612.tar.gz kernel_samsung_aries-84aa6b7ba746e6f637444d0e14a9b75c0b49a612.tar.bz2 |
[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/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index ba2bb49..4edf40b 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c @@ -202,7 +202,7 @@ static void __devinit oxygen_init(struct oxygen *chip) oxygen_set_bits8(chip, OXYGEN_FUNCTION, OXYGEN_FUNCTION_RESET_CODEC | - OXYGEN_FUNCTION_ENABLE_SPI_4_5); + chip->model->function_flags); oxygen_write16(chip, OXYGEN_I2S_MULTICH_FORMAT, 0x010a); oxygen_write16(chip, OXYGEN_I2S_A_FORMAT, 0x010a); oxygen_write16(chip, OXYGEN_I2S_B_FORMAT, 0x010a); |