[tip: irq/core] irqchip/mmp: Do not call irq_set_default_host() on DT platforms
From: tip-bot2 for Lubomir Rintel
Date: Fri Sep 06 2019 - 07:10:24 EST
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 7224cec4e76c8d8169e328923597e659b705760d
Gitweb: https://git.kernel.org/tip/7224cec4e76c8d8169e328923597e659b705760d
Author: Lubomir Rintel <lkundrak@xxxxx>
AuthorDate: Fri, 16 Aug 2019 20:18:49 +02:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Tue, 20 Aug 2019 10:34:34 +01:00
irqchip/mmp: Do not call irq_set_default_host() on DT platforms
Using a default domain on DT platforms is unnecessary, as the firmware
tables describe the full topology, and nothing is implicit.
Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
[maz: wrote an actual changelog]
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
drivers/irqchip/irq-mmp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 14618dc..0671c3b 100644
--- a/drivers/irqchip/irq-mmp.c
+++ b/drivers/irqchip/irq-mmp.c
@@ -395,7 +395,6 @@ static int __init mmp_of_init(struct device_node *node,
icu_data[0].conf_enable = mmp_conf.conf_enable;
icu_data[0].conf_disable = mmp_conf.conf_disable;
icu_data[0].conf_mask = mmp_conf.conf_mask;
- irq_set_default_host(icu_data[0].domain);
set_handle_irq(mmp_handle_irq);
max_icu_nr = 1;
return 0;
@@ -414,7 +413,6 @@ static int __init mmp2_of_init(struct device_node *node,
icu_data[0].conf_enable = mmp2_conf.conf_enable;
icu_data[0].conf_disable = mmp2_conf.conf_disable;
icu_data[0].conf_mask = mmp2_conf.conf_mask;
- irq_set_default_host(icu_data[0].domain);
set_handle_irq(mmp2_handle_irq);
max_icu_nr = 1;
return 0;