From: Denis Efremov Date: Mon, 11 Feb 2013 15:04:06 +0000 (+0400) Subject: ALSA: rme32.c irq enabling after spin_lock_irq X-Git-Tag: v3.9-rc1~52^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f49a59c4471d81a233e09dda45187cc44fda009d;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index 2450663..0ecd410 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c @@ -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; }