mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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:
parent
a82d51ed24
commit
6091106297
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user