commit | 102bbe34b31c9159e714432afd64458f6f3876d7 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Wed Apr 10 15:47:54 2019 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 11 15:39:48 2019 +0200 |
tree | 06afa04ccd32c4521c26a8b56af2c62ec7e28b37 | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 [diff] |
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>