OSDN Git Service

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)
commitc208a5335036a332c0248b0e16fca57332b3f1d1
tree70ac581c06c71927be783ffbd3d465c1496c6b99
parent55f7326170d9e83e2d828591938e1101982a679c
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