Author: tfaber
Date: Sun Aug 20 15:02:53 2017
New Revision: 75629

URL: http://svn.reactos.org/svn/reactos?rev=75629&view=rev
Log:
[HDAUDBUS]
- Correctly disable interrupts for status change events. Fixes infinite 
"HDA_InterruptService c0000000" debug spam (interrupt storm) on VMware with 
HDAudio sound enabled.
CORE-13704 #resolve

Modified:
    trunk/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp

Modified: trunk/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp?rev=75629&r1=75628&r2=75629&view=diff
==============================================================================
--- trunk/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp    [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp    [iso-8859-1] Sun Aug 20 
15:02:53 2017
@@ -603,7 +603,7 @@
         // them, as we want to use the STATE_STATUS register to identify
         // available codecs. We'd have to clear that register in the interrupt
         // handler to 'ack' the codec change.
-        Value = READ_REGISTER_USHORT((PUSHORT)(DeviceExtension->RegBase + 
HDAC_WAKE_ENABLE)) & HDAC_WAKE_ENABLE_MASK;
+        Value = READ_REGISTER_USHORT((PUSHORT)(DeviceExtension->RegBase + 
HDAC_WAKE_ENABLE)) & ~HDAC_WAKE_ENABLE_MASK;
         WRITE_REGISTER_USHORT((PUSHORT)(DeviceExtension->RegBase + 
HDAC_WAKE_ENABLE), Value);
 
         // Enable controller interrupts


Reply via email to