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