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

2019-04-11 Thread Linus Walleij
On Wed, Apr 10, 2019 at 9:48 AM Baolin Wang 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

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

2019-04-10 Thread Baolin Wang
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: Signed-off-by: Baolin Wang ---