git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7353d
)
mfd: Fix max77693 irq leak and wrong kfree call
author
Axel Lin
<axel.lin@gmail.com>
Fri, 8 Jun 2012 00:35:37 +0000
(08:35 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:11 +0000
(
00:16
+0200)
We need to call max77693_irq_exit() in max77693_i2c_probe error patch and
max77693_i2c_remove.
Current code already uses devm_kzalloc() to allocate memory for max77693.
Thus we should not call kfree(max77693), otherwise we got double free.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max77693.c
patch
|
blob
|
history
diff --cc
drivers/mfd/max77693.c
Simple merge