diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-01-19 12:10:50 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-19 19:26:04 +0300 |
commit | 8c0ae778e2874f3742bd619000b791d178c187e2 (patch) | |
tree | 4875aef886334348db34cfcce2e8dcd9509d1408 /sound/pci/hda/patch_cs8409-tables.c | |
parent | 85c25662d18903874fad585d17fc398a7ba37ab0 (diff) | |
download | linux-8c0ae778e2874f3742bd619000b791d178c187e2.tar.xz |
ALSA: core: Simplify snd_power_ref_and_wait() with the standard macro
Use wait_event_cmd() macro and simplify snd_power_ref_wait()
implementation. This may also cover possible races in the current
open code, too.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20220119091050.30125-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_cs8409-tables.c')
0 files changed, 0 insertions, 0 deletions