diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-21 02:52:29 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:08 -0500 |
commit | 5a256f862c2a9155456b718edb303e37cda2d153 (patch) | |
tree | e30f384a6cf8bf8aacb01da05cc0e71bf2b9684f | |
parent | e9d88a8bd9fb85d2a4a0adb89c47dcae437fa308 (diff) |
[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 <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | sound/pci/oxygen/oxygen_regs.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
330 | #define OXYGEN_PLAY_SPDIF_I2S_ADC_3 0x00e0 | 330 | #define OXYGEN_PLAY_SPDIF_I2S_ADC_3 0x00e0 |
331 | #define OXYGEN_PLAY_DAC0_SOURCE_MASK 0x0300 | 331 | #define OXYGEN_PLAY_DAC0_SOURCE_MASK 0x0300 |
332 | #define OXYGEN_PLAY_DAC0_SOURCE_SHIFT 8 | 332 | #define OXYGEN_PLAY_DAC0_SOURCE_SHIFT 8 |
333 | #define OXYGEN_PLAY_DAC1_SOURCE_MASK 0x0700 | 333 | #define OXYGEN_PLAY_DAC1_SOURCE_MASK 0x0c00 |
334 | #define OXYGEN_PLAY_DAC1_SOURCE_SHIFT 10 | 334 | #define OXYGEN_PLAY_DAC1_SOURCE_SHIFT 10 |
335 | #define OXYGEN_PLAY_DAC2_SOURCE_MASK 0x3000 | 335 | #define OXYGEN_PLAY_DAC2_SOURCE_MASK 0x3000 |
336 | #define OXYGEN_PLAY_DAC2_SOURCE_SHIFT 12 | 336 | #define OXYGEN_PLAY_DAC2_SOURCE_SHIFT 12 |
337 | #define OXYGEN_PLAY_DAC3_SOURCE_MASK 0x7000 | 337 | #define OXYGEN_PLAY_DAC3_SOURCE_MASK 0xc000 |
338 | #define OXYGEN_PLAY_DAC3_SOURCE_SHIFT 14 | 338 | #define OXYGEN_PLAY_DAC3_SOURCE_SHIFT 14 |
339 | 339 | ||
340 | #define OXYGEN_REC_ROUTING 0xc2 | 340 | #define OXYGEN_REC_ROUTING 0xc2 |