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