diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-17 09:05:09 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:30:03 +0100 |
commit | 05855ba3f405d02c4530072527d2b1c72e3b38a9 (patch) | |
tree | a3a53083e0e773d606f56922f927f719568026d9 /sound/pci/oxygen/oxygen.c | |
parent | b8c5b53e1f104a9f877f947cdb86d5c7208d6c9a (diff) | |
download | talos-obmc-linux-05855ba3f405d02c4530072527d2b1c72e3b38a9.tar.gz talos-obmc-linux-05855ba3f405d02c4530072527d2b1c72e3b38a9.zip |
[ALSA] oxygen: make the I2S format configurable
Add proper register bit symbols for the I2S format field, and allow card
models to configure the I2S format to be used for the DACs and ADCs.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen.c')
-rw-r--r-- | sound/pci/oxygen/oxygen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index f8e3fd39749d..e618cde7f9e4 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c @@ -285,6 +285,8 @@ static const struct oxygen_model model_generic = { OXYGEN_CHANNEL_MULTICH | OXYGEN_CHANNEL_AC97, .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, + .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, + .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST, }; static const struct oxygen_model model_meridian = { .shortname = "C-Media CMI8788", @@ -304,6 +306,8 @@ static const struct oxygen_model model_meridian = { OXYGEN_CHANNEL_MULTICH | OXYGEN_CHANNEL_AC97, .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, + .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, + .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST, }; static int __devinit generic_oxygen_probe(struct pci_dev *pci, |