freebsd-nq/sys/dev/sound
Andriy Gapon 4302208388 sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged.
Specifically, bits in STATESTS (aka WAKESTS) were left set.

The fix is to disable WAKEEN and clear STATESTS bits before the HDA
interrupt is enabled.  This way we should never get any STATESTS bits.

I also added placeholders for all event bits that we currently do not
enable, do not handle and do not clear.  This might get useful when / if
we enable any of them.

Reported by:	kib (Apollo Lake hardware)
Tested by:	kib (earlier, different change)
MFC after:	2 weeks
X-MFC with:	r362294
2020-06-26 09:46:03 +00:00
..
isa
macio
midi Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
pci sound/hda: fix interrupt handler endless loop after r362294 2020-06-26 09:46:03 +00:00
pcm Set PCM_CAP_VIRTUAL for virtual DSP devices. 2020-05-07 18:15:35 +00:00
usb Improve debug message to be more precise and clear. 2020-06-20 14:16:24 +00:00
chip.h
clone.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
clone.h
driver.c
unit.c
unit.h
version.h