Recently, some bugs have been discovered during use, and patch1 are bug fixes. Also, this patchset add optimization: patch2 optimization the calculation method of eic number. Change in V4: -Add Fixes tag in PATCH 1/2. -Change commit message in PATCH 1/2. -Add clearing interrupt to debounce and latch mode in PATCH 1/2. -Change commit message in PATCH 2/2. -Delete SPRD_EIC_VAR_DATA macro in PATCH 2/2. Wenhua Lin (2): gpio: eic-sprd: Clear interrupt after set the interrupt type gpio: eic-sprd: Optimize the calculation method of eic number drivers/gpio/gpio-eic-sprd.c | 42 +++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 10 deletions(-) -- 2.17.1