mbox series

[V4,0/2] gpio: sprd: Modification of UNISOC Platform EIC Driver

Message ID 20240109073849.10791-1-Wenhua.Lin@unisoc.com
Headers show
Series gpio: sprd: Modification of UNISOC Platform EIC Driver | expand

Message

Wenhua Lin Jan. 9, 2024, 7:38 a.m. UTC
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(-)

Comments

Bartosz Golaszewski Jan. 22, 2024, 10:42 a.m. UTC | #1
On Tue, Jan 9, 2024 at 8:39 AM Wenhua Lin <Wenhua.Lin@unisoc.com> wrote:
>
> 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
>
>

Applied with Acks from Chunyan.

Bartosz