]> git.proxmox.com Git - qemu.git/commitdiff
hw/ac97: the volume mask is not only 0x1f
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 17 Apr 2012 12:32:38 +0000 (14:32 +0200)
committermalc <av1474@comtv.ru>
Tue, 17 Apr 2012 12:57:58 +0000 (16:57 +0400)
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>
Signed-off-by: malc <av1474@comtv.ru>
hw/ac97.c

index f2804e65b86a676ed486eee681d7ccfc97a4ce92..f7866ed8c553bb62377af9f06c0bb9fa34bba14b 100644 (file)
--- 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