[PATCH] ALSA: core: Simplify snd_power_ref_and_wait() with the standard macro

Jaroslav Kysela perex at perex.cz
Wed Jan 19 10:19:36 CET 2022


On 19. 01. 22 10:10, Takashi Iwai wrote:
> Use wait_event_cmd() macro and simplify snd_power_ref_wait()
> implementation.  This may also cover possible races in the current
> open code, too.
> 
> Signed-off-by: Takashi Iwai <tiwai at suse.de>

Reviewed-by: Jaroslav Kysela <perex at perex.cz>

Thanks.

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list