opnsense-src/sys/dev/sound
Ed Maste 74f11a40f8 sound: test PCM_REGISTERED before PCM_DETACHING
PCM_REGISTERED(d) tests that d is not NULL, so perform that check first
as we may have cases where devclass_get_softc has a null entry.

PR:		262671
Reviewed by:	hselasky
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34648

(cherry picked from commit da03ac41c9)
2022-03-30 16:43:57 -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 Remove snd_aureal driver source 2022-03-29 21:18:05 -04:00
pcm sound: test PCM_REGISTERED before PCM_DETACHING 2022-03-30 16:43:57 -04:00
usb snd_uaudio(4): Loosen up the USB MIDI permissions. 2022-01-07 14:23:26 +01:00
chip.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
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 Remove snd_aureal driver source 2022-03-29 21:18:05 -04:00
unit.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
unit.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
version.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00