OSDN Git Service

irqchip/stm32: Optimizes and cleans up stm32-exti irq_domain
authorRadoslaw Pietrzyk <radoslaw.pietrzyk@gmail.com>
Thu, 26 Apr 2018 16:18:24 +0000 (18:18 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 May 2018 11:37:54 +0000 (12:37 +0100)
commitff78716d431726ceda50300b8c1b982e00acf6ab
tree29a445fb7c4e3aba7165b04ffae771fe7bf8845f
parent868c4e07533c67f7b6525a4561d8f59dbfdd5e06
irqchip/stm32: Optimizes and cleans up stm32-exti irq_domain

- In stm32_exti_alloc function, discards irq_domain_set_info
  with handle_simple_irq. This overwrite the setting defined while init
  of generic chips. Exti controller manages edge irq type.
- Removes acking in chained irq handler as this is done by
  irq_chip itself inside handle_edge_irq
- removes unneeded irq_domain_ops.xlate callback

Acked-by: Ludovic Barre <ludovic.barre@st.com>
Tested-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Radoslaw Pietrzyk <radoslaw.pietrzyk@gmail.com>
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-stm32-exti.c