gpio: brcmstb: correct the configuration of level interrupts
authorDoug Berger <opendmb@gmail.com>
Tue, 24 Oct 2017 19:54:49 +0000 (12:54 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 31 Oct 2017 09:30:44 +0000 (10:30 +0100)
commit633007a36e51c5dd85a20e9ebd17de12566cf2c2
treecc3722873fca60b0cb952b53238b27addc254a4b
parent2c218b9f1bcc30969195d472e7d29f59e4e2ced6
gpio: brcmstb: correct the configuration of level interrupts

This commit corrects a bug when configuring the GPIO hardware for
IRQ_TYPE_LEVEL_LOW and IRQ_TYPE_LEVEL_HIGH interrupt types. The
hardware is now correctly configured to support those types.

Fixes: 19a7b6940b78 ("gpio: brcmstb: Add interrupt and wakeup source support")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-brcmstb.c