projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6ea6e
)
isdn: gigaset: add missing unlock
author
Dan Carpenter
<error27@gmail.com>
Thu, 5 Aug 2010 22:23:23 +0000
(22:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 8 Aug 2010 06:04:11 +0000
(23:04 -0700)
We should unlock here. This is the only place where we return from the
function with the lock held. The caller isn't expecting it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/capi.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/gigaset/capi.c
b/drivers/isdn/gigaset/capi.c
index e5ea344a551a14d32cbad7a6941720606af0a32d..bcc174e4f3b146db6772cea89c79ac9eb14ce80a 100644
(file)
--- a/
drivers/isdn/gigaset/capi.c
+++ b/
drivers/isdn/gigaset/capi.c
@@
-1052,6
+1052,7
@@
static inline void remove_appl_from_channel(struct bc_state *bcs,
do {
if (bcap->bcnext == ap) {
bcap->bcnext = bcap->bcnext->bcnext;
+ spin_unlock_irqrestore(&bcs->aplock, flags);
return;
}
bcap = bcap->bcnext;