From 5a256f862c2a9155456b718edb303e37cda2d153 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 21 Jan 2008 08:52:29 +0100 Subject: [PATCH] [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 --- sound/pci/oxygen/oxygen_regs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/oxygen/oxygen_regs.h b/sound/pci/oxygen/oxygen_regs.h index 3e0cdaecb2..72de159d45 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 -- 2.39.5