mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 12:46:49 +07: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