lkml.org 
[lkml]   [2022]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] gpio: use raw spinlock for gpio chip shadowed data
Andy Shevchenko <andy.shevchenko@gmail.com> writes:

>
> Changelog:
> v1 -> v2:
> - Reduce the useless stacktrace.
> - Split to series of patches
>
> Changelog usually goes after cutter ‘--- ‘ line. Besides that you haven’t compiled your tree just after this patch.
>

Yes, thanks for reminding me, I will fix it by upload another version
of patch if there is no other problems.

> Link: https://lore.kernel.org/all/20220415165505.30383-1-schspa@gmail.com/
>
> Signed-off-by: Schspa Shi <schspa@gmail.com>
> ---
> drivers/gpio/gpio-mmio.c | 22 +++++++++++-----------
> include/linux/gpio/driver.h | 2 +-
>
> You can’t do it for one driver only. As I told it will require too much of additional churn to make this to be series.
>

It seems I have misunderstood your "too much of additional churn". Can
you explain it?
The gpio-mmio.c and driver.h here are the basics of other gpio
drivers. In my opinion, these two files
belong to the basic code of gpio, and functions such as bgpio_init are
declared in
include/linux/gpio/driver.h and implemented in
drivers/gpio/gpio-mmio.c. So there is no churn.


--
Schspa Shi
BRs

\
 
 \ /
  Last update: 2022-04-18 05:08    [W:0.064 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site