From: Clemens Ladisch Date: Mon, 21 Jan 2008 07:52:29 +0000 (+0100) Subject: [ALSA] oxygen: fix DAC source register fields X-Git-Tag: v2.6.25-rc1~1127^2~66 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5a256f862c2a9155456b718edb303e37cda2d153;p=karo-tx-linux.git [ALSA] oxygen: fix DAC source register fields Fix some wrong values for the definitions of the source masks for DACS 1 and 3. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/oxygen/oxygen_regs.h b/sound/pci/oxygen/oxygen_regs.h index 3e0cdaecb20c..72de159d4567 100644 --- a/sound/pci/oxygen/oxygen_regs.h +++ b/sound/pci/oxygen/oxygen_regs.h @@ -330,11 +330,11 @@ #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