diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-04-10 09:47:54 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-11 15:39:48 +0200 |
commit | 102bbe34b31c9159e714432afd64458f6f3876d7 (patch) | |
tree | 06afa04ccd32c4521c26a8b56af2c62ec7e28b37 /drivers/gpio/gpiolib.c | |
parent | Linux 5.1-rc3 (diff) | |
download | linux-102bbe34b31c9159e714432afd64458f6f3876d7.tar.xz linux-102bbe34b31c9159e714432afd64458f6f3876d7.zip |
gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
When setting sync EIC as IRQ_TYPE_EDGE_BOTH type, we missed to set the
SPRD_EIC_SYNC_INTMODE register to 0, which means detecting edge signals.
Thus this patch fixes the issue.
Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions