From: Roman Volkov Date: Fri, 24 Jan 2014 12:18:04 +0000 (+0400) Subject: ALSA: oxygen: add mute mask for the OXYGEN_PLAY_ROUTING register X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=079e0cb776cf52b09fae89551b8a7eaff5639166;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ALSA: oxygen: add mute mask for the OXYGEN_PLAY_ROUTING register The Xonar DG/DGX driver needs this mask to mute unnecessary channels. Signed-off-by: Roman Volkov Signed-off-by: Clemens Ladisch --- diff --git a/sound/pci/oxygen/oxygen_regs.h b/sound/pci/oxygen/oxygen_regs.h index 63dc7a0ab555..8c191badaae8 100644 --- a/sound/pci/oxygen/oxygen_regs.h +++ b/sound/pci/oxygen/oxygen_regs.h @@ -318,6 +318,7 @@ #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