projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd69d64
)
hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 7 May 2012 07:24:38 +0000
(09:24 +0200)
committer
syeon.hwang
<syeon.hwang@samsung.com>
Fri, 10 Aug 2012 04:42:25 +0000
(13:42 +0900)
The Linux AC97 driver tests this bit to decide wether or not to show
an External amplifier toggle control.
This patch was also tested with a Windows XP guest without any issues.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/ac97.c
patch
|
blob
|
history
diff --git
a/hw/ac97.c
b/hw/ac97.c
index
a245c97
..
557f7b0
100644
(file)
--- a/
hw/ac97.c
+++ b/
hw/ac97.c
@@
-600,7
+600,7
@@
static void nam_writew (void *opaque, uint32_t addr, uint32_t val)
mixer_reset (s);
break;
case AC97_Powerdown_Ctrl_Stat:
- val &= ~0xf;
+ val &= ~0x
800
f;
val |= mixer_load (s, index) & 0xf;
mixer_store (s, index, val);
break;