From: Marc-André Lureau Date: Tue, 17 Apr 2012 12:32:38 +0000 (+0200) Subject: hw/ac97: the volume mask is not only 0x1f X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1528^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=515bad2df5490f0514d16206e6b0d7697839a458;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: malc --- diff --git a/hw/ac97.c b/hw/ac97.c index cd893c352f..aa1babf5b8 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -115,7 +115,6 @@ enum { #define EACS_VRA 1 #define EACS_VRM 8 -#define VOL_MASK 0x1f #define MUTE_SHIFT 15 #define REC_MASK 7