opnsense-src/sys/dev/sound/pci/hda
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
..
hda_reg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hdaa.c hda: remove hda*_lockowned macros 2020-04-18 18:25:30 +00:00
hdaa.h I add the ability to accept the default pin widget configuration to help 2019-07-17 04:13:46 +00:00
hdaa_patches.c Configure headphone redirection for the Dell L780 and X1 Carbon 7th gen. 2019-12-09 19:25:15 +00:00
hdac.c sound/hda: fix interrupt handler endless loop after r362294 2020-06-26 09:46:03 +00:00
hdac.h Add bunch of HDA controller and codec IDs. 2020-06-05 15:06:58 +00:00
hdac_if.m Two 192/24/8 playback streams overflow single mandatory output line (SDO) 2012-01-19 01:55:48 +00:00
hdac_private.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hdac_reg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hdacc.c Add bunch of HDA controller and codec IDs. 2020-06-05 15:06:58 +00:00