diff mbox

[v4,04/11] hw/ac97: the volume mask is not only 0x1f

Message ID 1331652059-10090-5-git-send-email-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau March 13, 2012, 3:20 p.m. UTC
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 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

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