Commit 60911062 authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai

ALSA: hda - unlock on error in azx_interrupt()

There is an spin_unlock() missing on this error path.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a82d51ed
...@@ -1266,8 +1266,10 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id) ...@@ -1266,8 +1266,10 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id)
spin_lock(&chip->reg_lock); spin_lock(&chip->reg_lock);
if (chip->disabled) if (chip->disabled) {
spin_unlock(&chip->reg_lock);
return IRQ_NONE; return IRQ_NONE;
}
status = azx_readl(chip, INTSTS); status = azx_readl(chip, INTSTS);
if (status == 0) { if (status == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment