Patchwork [04/10] hw/ac97: the volume mask is not only 0x1f

login
register
mail settings
Submitter Marc-André Lureau
Date April 17, 2012, 12:32 p.m.
Message ID <1334665964-3075-5-git-send-email-marcandre.lureau@redhat.com>
Download mbox | patch
Permalink /patch/153178/
State New
Headers show

Comments

Marc-André Lureau - April 17, 2012, 12:32 p.m.
It's a case by case (see Table 66. AC ‘97 Baseline Audio Register Map)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 hw/ac97.c |    1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/hw/ac97.c b/hw/ac97.c
index f2804e6..f7866ed 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -118,7 +118,6 @@  enum {
 #define EACS_VRA 1
 #define EACS_VRM 8
 
-#define VOL_MASK 0x1f
 #define MUTE_SHIFT 15
 
 #define REC_MASK 7