summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ac97.c b/hw/ac97.c
index b009257434..e791b9d3e6 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -603,7 +603,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 &= ~0x800f;
         val |= mixer_load (s, index) & 0xf;
         mixer_store (s, index, val);
         break;