diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-05-18 11:36:11 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-05-18 17:44:10 +0400 |
commit | 6091106297933c5cf0e4470df9a5f4e703674391 (patch) | |
tree | a5a43cb1eea6b64e47192242b9d8a92a87e68ca2 /sound/pci | |
parent | a82d51ed24bb7994f1f3dff18ec2eefe19385840 (diff) | |
download | linux-6091106297933c5cf0e4470df9a5f4e703674391.tar.xz |
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>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index e7a60402b23f..d0627723f7a8 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -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) { |