lkml.org 
[lkml]   [2020]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mfd: syscon: Add syscon_regmap_lookup_by_phandle_optional() function.
On Tue, 17 Nov 2020, Matthias Brugger wrote:

> Hi Lee,
>
> On 13/11/2020 11:19, Lee Jones wrote:
> > On Tue, 10 Nov 2020, Enric Balletbo i Serra wrote:
> >
> > > This adds syscon_regmap_lookup_by_phandle_optional() function to get an
> > > optional regmap.
> > >
> > > It behaves the same as syscon_regmap_lookup_by_phandle() except where
> > > there is no regmap phandle. In this case, instead of returning -ENODEV,
> > > the function returns NULL. This makes error checking simpler when the
> > > regmap phandle is optional.
> > >
> > > Suggested-by: Nicolas Boichat <drinkcat@chromium.org>
> > > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
> > > Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
> > > ---
> > >
> > > Changes in v2:
> > > - Add Matthias r-b tag.
> > > - Add the explanation from the patch description to the code.
> > > - Return NULL instead of -ENOTSUPP when regmap helpers are not enabled.
> > >
> > > drivers/mfd/syscon.c | 18 ++++++++++++++++++
> > > include/linux/mfd/syscon.h | 11 +++++++++++
> > > 2 files changed, 29 insertions(+)
> >
> > Applied, thanks.
> >
>
> I've a series [1] that's based on this patch, could you provide a stable
> branch for it, so that I can take the series.

Why can't you base it off of for-mfd-next?

https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/log/?h=for-mfd-next

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

\
 
 \ /
  Last update: 2020-11-17 13:39    [W:0.097 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site