ALSA: hda - unlock on error in azx_interrupt()

There is an spin_unlock() missing on this error path.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Dan Carpenter 2012-05-18 10:36:11 +03:00 committed by Takashi Iwai
parent a82d51ed24
commit 6091106297

View file

@ -1266,8 +1266,10 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id)
spin_lock(&chip->reg_lock);
if (chip->disabled)
if (chip->disabled) {
spin_unlock(&chip->reg_lock);
return IRQ_NONE;
}
status = azx_readl(chip, INTSTS);
if (status == 0) {