projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8220fe4
)
mfd: Add free max8998->ono irq in max8998_irq_exit()
author
Axel Lin
<axel.lin@gmail.com>
Wed, 20 Oct 2010 09:09:56 +0000
(17:09 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 28 Oct 2010 22:30:36 +0000
(
00:30
+0200)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8998-irq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max8998-irq.c
b/drivers/mfd/max8998-irq.c
index 346fd296cf7dda3cea742a99b4755d8eb0b54a19..45bfe77b639baac66e94615ac43977e3be9eae4e 100644
(file)
--- a/
drivers/mfd/max8998-irq.c
+++ b/
drivers/mfd/max8998-irq.c
@@
-250,6
+250,9
@@
int max8998_irq_init(struct max8998_dev *max8998)
void max8998_irq_exit(struct max8998_dev *max8998)
{
+ if (max8998->ono)
+ free_irq(max8998->ono, max8998);
+
if (max8998->irq)
free_irq(max8998->irq, max8998);
}