projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5371c
)
mfd: sm501, fix lock imbalance
author
Jiri Slaby
<jirislaby@gmail.com>
Sun, 21 Jun 2009 22:00:02 +0000
(
00:00
+0200)
committer
Samuel Ortiz
<sameol@linux.intel.com>
Fri, 3 Jul 2009 09:54:50 +0000
(11:54 +0200)
Add omitted unlock in sm501_unit_power.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/sm501.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/sm501.c
b/drivers/mfd/sm501.c
index 4c7b7962f6b8002b18ef57c0a6d4015bcf7c2fc1..0cc5eeff5ee8bf7cd5568eabfcc31e82b05675b3 100644
(file)
--- a/
drivers/mfd/sm501.c
+++ b/
drivers/mfd/sm501.c
@@
-367,7
+367,8
@@
int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to)
break;
default:
- return -1;
+ gate = -1;
+ goto already;
}
writel(mode, sm->regs + SM501_POWER_MODE_CONTROL);