hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes
authorHans de Goede <hdegoede@redhat.com>
Mon, 7 May 2012 07:24:38 +0000 (09:24 +0200)
committersyeon.hwang <syeon.hwang@samsung.com>
Fri, 10 Aug 2012 04:42:25 +0000 (13:42 +0900)
commit5a872b9178c0fe167fb66989562a56c4b9a3323d
tree8398d14349593d7487d53f468bc7acd84c6c41f5
parentbd69d64e3d5ca36c234bc69b84390603bf2a2939
hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes

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