peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0504-hw-ac97-the-volume-mask-is-not-only-0x1f.patch

56753f
From c0bcb346459445db2895fb56c78ab71e592c0c90 Mon Sep 17 00:00:00 2001
56753f
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
56753f
Date: Tue, 17 Apr 2012 14:32:38 +0200
56753f
Subject: [PATCH 504/509] hw/ac97: the volume mask is not only 0x1f
56753f
56753f
It's a case by case (see Table 66. AC ?97 Baseline Audio Register Map)
56753f
56753f
Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
56753f
Signed-off-by: malc <av1474@comtv.ru>
56753f
---
56753f
 hw/ac97.c |    1 -
56753f
 1 file changed, 1 deletion(-)
56753f
56753f
diff --git a/hw/ac97.c b/hw/ac97.c
56753f
index cd893c3..aa1babf 100644
56753f
--- a/hw/ac97.c
56753f
+++ b/hw/ac97.c
56753f
@@ -115,7 +115,6 @@ enum {
56753f
 #define EACS_VRA 1
56753f
 #define EACS_VRM 8
56753f
 
56753f
-#define VOL_MASK 0x1f
56753f
 #define MUTE_SHIFT 15
56753f
 
56753f
 #define REC_MASK 7
56753f
-- 
56753f
1.7.10
56753f