Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit edadced2 authored by Xiaoguang Chen's avatar Xiaoguang Chen Committed by Linus Walleij
Browse files

gpio: dwapb: fix missing first irq for edgeboth irq type



dwapb_irq_set_type overwrites polarity register value for
IRQ_TYPE_EDGE_BOTH case. If the polarity of one gpio is 0
by default, then it will set falling edge irq trigger.
and the gpio may requires rising edge irq for the first time,
and it will be missed.

Do not overwrite polarity register for IRQ_TYPE_EDGE_BOTH case
can solve this issue.

Signed-off-by: default avatarXiaoguang Chen <xgchenshy@gmail.com>
Tested-by: default avatarJisheng Zhang <jszhang@marvell.com>
[Fix some really weird text encoding problem]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent eb2ec49b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment