diff options
author | Xiaoguang Chen <xgchenshy@gmail.com> | 2017-06-02 01:27:15 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-06-21 09:36:46 +0200 |
commit | edadced2bc7012108b05b47c0649c257ad28f03c (patch) | |
tree | adf998a6f1ac6f2c2d6d4eb6db89305a7819e314 /lib/is_single_threaded.c | |
parent | MAINTAINERS: Take maintainership for GPIO ACPI support (diff) | |
download | linux-edadced2bc7012108b05b47c0649c257ad28f03c.tar.xz linux-edadced2bc7012108b05b47c0649c257ad28f03c.zip |
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: Xiaoguang Chen <xgchenshy@gmail.com>
Tested-by: Jisheng Zhang <jszhang@marvell.com>
[Fix some really weird text encoding problem]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions