mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ALSA: rme32.c irq enabling after spin_lock_irq
commit f49a59c447
upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7fb3e95821
commit
ceb0446b6d
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ static int snd_rme32_capture_close(struct snd_pcm_substream *substream)
|
|||
spin_lock_irq(&rme32->lock);
|
||||
rme32->capture_substream = NULL;
|
||||
rme32->capture_periodsize = 0;
|
||||
spin_unlock(&rme32->lock);
|
||||
spin_unlock_irq(&rme32->lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue