mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[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>
This commit is contained in:
parent
e9d88a8bd9
commit
5a256f862c
1 changed files with 2 additions and 2 deletions
|
@ -330,11 +330,11 @@
|
||||||
#define OXYGEN_PLAY_SPDIF_I2S_ADC_3 0x00e0
|
#define OXYGEN_PLAY_SPDIF_I2S_ADC_3 0x00e0
|
||||||
#define OXYGEN_PLAY_DAC0_SOURCE_MASK 0x0300
|
#define OXYGEN_PLAY_DAC0_SOURCE_MASK 0x0300
|
||||||
#define OXYGEN_PLAY_DAC0_SOURCE_SHIFT 8
|
#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_DAC1_SOURCE_SHIFT 10
|
||||||
#define OXYGEN_PLAY_DAC2_SOURCE_MASK 0x3000
|
#define OXYGEN_PLAY_DAC2_SOURCE_MASK 0x3000
|
||||||
#define OXYGEN_PLAY_DAC2_SOURCE_SHIFT 12
|
#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_PLAY_DAC3_SOURCE_SHIFT 14
|
||||||
|
|
||||||
#define OXYGEN_REC_ROUTING 0xc2
|
#define OXYGEN_REC_ROUTING 0xc2
|
||||||
|
|
Loading…
Reference in a new issue