opnsense-src/sys/dev/sound
Mark Johnston 9f83c6fa52 hdac: Handle interrupts racing with device suspend
- Avoid looping forever if a concurrent reset causes a read of the
  interrupt status register to return all ones.
- Lock the softc before reading the interrupt status, so as to avoid a
  similar infinite loop in hdac_one_intr().

This fixes suspend-to-S3 on some laptops.

Approved by:	re (gjb)
PR:		261207
Reviewed by:	mav, imp
Tested by:	uqs
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 077564cfdb)
(cherry picked from commit 18a3bada30)
2022-03-24 11:42:11 -04:00
..
isa sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
macio sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
midi sound(4): Fix some common typos in comments 2021-08-31 08:12:40 +02:00
pci hdac: Handle interrupts racing with device suspend 2022-03-24 11:42:11 -04:00
pcm sound: Remove CTLFLAG_NEEDGIANT from some sysctls. 2022-01-09 19:29:59 -05:00
usb snd_uaudio(4): Loosen up the USB MIDI permissions. 2022-01-07 14:23:26 +01:00
chip.h
clone.c sound: Remove CTLFLAG_NEEDGIANT from some sysctls. 2022-01-09 19:29:59 -05:00
clone.h sound: Remove CTLFLAG_NEEDGIANT from some sysctls. 2022-01-09 19:29:59 -05:00
driver.c
unit.c
unit.h
version.h