]> err.no Git - linux-2.6/commitdiff
[ALSA] oxygen: fix DAC source register fields
authorClemens Ladisch <clemens@ladisch.de>
Mon, 21 Jan 2008 07:52:29 +0000 (08:52 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:08 +0000 (17:30 +0100)
Fix some wrong values for the definitions of the source masks for DACS 1
and 3.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/oxygen/oxygen_regs.h

index 3e0cdaecb20cf72fbd884b0521d6d9f8d18d2b42..72de159d45673b123df400486962078e3f401650 100644 (file)
 #define  OXYGEN_PLAY_SPDIF_I2S_ADC_3   0x00e0
 #define  OXYGEN_PLAY_DAC0_SOURCE_MASK  0x0300
 #define  OXYGEN_PLAY_DAC0_SOURCE_SHIFT 8
-#define  OXYGEN_PLAY_DAC1_SOURCE_MASK  0x0700
+#define  OXYGEN_PLAY_DAC1_SOURCE_MASK  0x0c00
 #define  OXYGEN_PLAY_DAC1_SOURCE_SHIFT 10
 #define  OXYGEN_PLAY_DAC2_SOURCE_MASK  0x3000
 #define  OXYGEN_PLAY_DAC2_SOURCE_SHIFT 12
-#define  OXYGEN_PLAY_DAC3_SOURCE_MASK  0x7000
+#define  OXYGEN_PLAY_DAC3_SOURCE_MASK  0xc000
 #define  OXYGEN_PLAY_DAC3_SOURCE_SHIFT 14
 
 #define OXYGEN_REC_ROUTING             0xc2