Re: [PATCH] gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC

From: Linus Walleij
Date: Thu Apr 11 2019 - 09:40:32 EST


On Wed, Apr 10, 2019 at 9:48 AM Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxx>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij