]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: PCM: Allow resume only for suspended streams
authorTakashi Iwai <tiwai@suse.de>
Mon, 24 Jun 2024 12:54:34 +0000 (14:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Jun 2024 09:53:35 +0000 (11:53 +0200)
commit1225675ca74c746f09211528588e83b3def1ff6a
tree02949a72980f7c24b1eea477a49a85ecbf5ca252
parentc5ab94ea280a9b4108723eecf0a636e22a5bb137
ALSA: PCM: Allow resume only for suspended streams

snd_pcm_resume() should bail out if the stream isn't in a suspended
state.  Otherwise it'd allow doubly resume.

Link: https://patch.msgid.link/20240624125443.27808-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c