summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/oxygen.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-17 09:05:09 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:30:03 +0100
commit05855ba3f405d02c4530072527d2b1c72e3b38a9 (patch)
treea3a53083e0e773d606f56922f927f719568026d9 /sound/pci/oxygen/oxygen.h
parentb8c5b53e1f104a9f877f947cdb86d5c7208d6c9a (diff)
downloadlinux-3.10-05855ba3f405d02c4530072527d2b1c72e3b38a9.tar.gz
linux-3.10-05855ba3f405d02c4530072527d2b1c72e3b38a9.tar.bz2
linux-3.10-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.h')
-rw-r--r--sound/pci/oxygen/oxygen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h
index 602105ce294..98cccc6ce9d 100644
--- a/sound/pci/oxygen/oxygen.h
+++ b/sound/pci/oxygen/oxygen.h
@@ -86,6 +86,8 @@ struct oxygen_model {
void (*update_dac_mute)(struct oxygen *chip);
u8 used_channels;
u8 function_flags;
+ u16 dac_i2s_format;
+ u16 adc_i2s_format;
};
/* oxygen_lib.c */