projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
regmap: irq: Remove domain on exit
author
Mark Brown
<broonie@linaro.org>
Wed, 22 Jan 2014 20:25:48 +0000
(20:25 +0000)
committer
Mark Brown
<broonie@linaro.org>
Mon, 3 Feb 2014 12:17:10 +0000
(12:17 +0000)
irqdomain now supports removal of domains on exit so we can properly clean
up on deletion of a regmap irqchip.
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap-irq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/regmap/regmap-irq.c
b/drivers/base/regmap/regmap-irq.c
index 82692068d3cbe8dfa4cc5fdb6b544b74168255ea..52ce0c17c68baffa05516a5bdacccf9c4dbed3f3 100644
(file)
--- a/
drivers/base/regmap/regmap-irq.c
+++ b/
drivers/base/regmap/regmap-irq.c
@@
-533,7
+533,7
@@
void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *d)
return;
free_irq(irq, d);
- /* We should unmap the domain but... */
+ irq_domain_remove(d->domain);
kfree(d->wake_buf);
kfree(d->mask_buf_def);
kfree(d->mask_buf);