ALSA: oxygen: add mute mask for the OXYGEN_PLAY_ROUTING register
authorRoman Volkov <v1ron@mail.ru>
Fri, 24 Jan 2014 12:18:04 +0000 (16:18 +0400)
committerClemens Ladisch <clemens@ladisch.de>
Wed, 29 Jan 2014 19:45:44 +0000 (20:45 +0100)
The Xonar DG/DGX driver needs this mask to mute unnecessary
channels.

Signed-off-by: Roman Volkov <v1ron@mail.ru>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/pci/oxygen/oxygen_regs.h

index 63dc7a0ab55592b9b3a82aea7ccbeb18bea46799..8c191badaae8cf5077ed55fd6849aab52fbf448b 100644 (file)
 #define  OXYGEN_PLAY_MUTE23            0x0002
 #define  OXYGEN_PLAY_MUTE45            0x0004
 #define  OXYGEN_PLAY_MUTE67            0x0008
+#define  OXYGEN_PLAY_MUTE_MASK         0x000f
 #define  OXYGEN_PLAY_MULTICH_MASK      0x0010
 #define  OXYGEN_PLAY_MULTICH_I2S_DAC   0x0000
 #define  OXYGEN_PLAY_MULTICH_AC97      0x0010