From ecc55a34f2343f965d63352a532c7727b19c6844 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 20 Aug 2017 15:02:53 +0000 Subject: [PATCH] [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 svn path=/trunk/; revision=75629 --- reactos/drivers/wdm/audio/hdaudbus/fdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp b/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp index 1e6b6f6f240..b032073eb9b 100644 --- a/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp +++ b/reactos/drivers/wdm/audio/hdaudbus/fdo.cpp @@ -603,7 +603,7 @@ HDA_FDOStartDevice( // 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