diff options
author | Takashi Iwai <[email protected]> | 2022-01-19 10:10:50 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-01-19 17:26:04 +0100 |
commit | 8c0ae778e2874f3742bd619000b791d178c187e2 (patch) | |
tree | 4875aef886334348db34cfcce2e8dcd9509d1408 /net/lapb/lapb_in.c | |
parent | 85c25662d18903874fad585d17fc398a7ba37ab0 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions