]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: core: Add snd_device_get_state() helper
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2020 17:06:42 +0000 (18:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2020 17:09:19 +0000 (18:09 +0100)
commitc638f5feb5b8cd92c0722753898c2eb5417ade79
tree70ac581c06c71927be783ffbd3d465c1496c6b99
parent62b9f8372dea9a1a9b546c043d68b8678e795492
ALSA: core: Add snd_device_get_state() helper

A new small helper to get the current state of the device registration
for the given object.  It'll be used for USB-audio driver to check the
delayed device registrations.

Link: https://lore.kernel.org/r/20200323170643.19181-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/device.c