summaryrefslogtreecommitdiff
path: root/hw/ac97.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-04-17 14:32:38 +0200
committermalc <av1474@comtv.ru>2012-04-17 16:57:58 +0400
commit5b72392603b6fcb6ac533cb5b74d1cfb4917a0e1 (patch)
tree986141e78b342faa06ad19dbe2d62cdba4f2aacb /hw/ac97.c
parented2997cdcbe483d453316ce1b2ff4eae6ce06b7d (diff)
hw/ac97: the volume mask is not only 0x1f
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>
Diffstat (limited to 'hw/ac97.c')
-rw-r--r--hw/ac97.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ac97.c b/hw/ac97.c
index f2804e65b8..f7866ed8c5 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