irqchip: madera: Don't clear irq_dev until we are finished using it
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 11 Dec 2017 14:16:42 +0000 (14:16 +0000)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:28 +0000 (20:22 +0300)
commite1fe11630da0d933875d09d951c287ad4bd047e9
tree7902770be3c439be6256c49e618980ed66367c71
parent2323bd74c57ae56307601b22059e127ec4eca744
irqchip: madera: Don't clear irq_dev until we are finished using it

irq_dev is still required for madera_free_irq as it will call
madera_map_irq, so don't clear it until after we are finished with it.

Change-Id: I747eea13d38d3b9acc8c522da44672d488a3d5a7
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
drivers/irqchip/irq-madera.c