Skip to content

Commit f49a59c

Browse files
evdenistiwai
authored andcommitted
ALSA: rme32.c irq enabling after spin_lock_irq
According to the other code in this driver and similar code in rme96 it seems, that spin_lock_irq in snd_rme32_capture_close function should be paired with spin_unlock_irq. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 17ac8e5 commit f49a59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/rme32.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ static int snd_rme32_capture_close(struct snd_pcm_substream *substream)
10171017
spin_lock_irq(&rme32->lock);
10181018
rme32->capture_substream = NULL;
10191019
rme32->capture_periodsize = 0;
1020-
spin_unlock(&rme32->lock);
1020+
spin_unlock_irq(&rme32->lock);
10211021
return 0;
10221022
}
10231023

0 commit comments

Comments
 (0)