projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82d51e
)
ALSA: hda - unlock on error in azx_interrupt()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 18 May 2012 07:36:11 +0000
(10:36 +0300)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 18 May 2012 13:44:10 +0000
(15:44 +0200)
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>
sound/pci/hda/hda_intel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_intel.c
b/sound/pci/hda/hda_intel.c
index e7a60402b23fdae442067af381976225a7a4079c..d0627723f7a83cf73753cb2c8c2dbc89bb2a9b85 100644
(file)
--- 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) {