OSDN Git Service

irqchip/stm32: Fix initial values
authorLudovic Barre <ludovic.barre@st.com>
Mon, 6 Nov 2017 17:03:35 +0000 (18:03 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 7 Nov 2017 11:44:35 +0000 (11:44 +0000)
commit2ca6b9bcaad4a78af255be9e16b3f3062a6d7c32
tree01fb4b0c2ccd3a212bcccc980593c67f7f15a9da
parent539c603e147c1566f90623d863fa0d64ecb6c89d
irqchip/stm32: Fix initial values

-After cold boot, imr default value depends on hardware configuration.
-After hot reboot the registers must be cleared to avoid residue.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-stm32-exti.c