On Sun, Dec 30, 2018 at 9:28 AM NeilBrown <n...@brown.name> wrote:
>
> On Sun, Dec 30 2018, Sergio Paracuellos wrote:
>
> > Hi again and sorry for the noise.
>
> A bit of noise is no problem, especially when it leads to the right
> answer.
>
> >
> > +       *num_maps = 0;
>
> Yes, this works.
> I had tried other numbers like ngroups, and got strange errors.
> With this, it all works.
>
> >
> > Looking other drivers and 'pinctrl_utils_reserve_map' code it seems
> > this should be first set to zero.
>
> Yes, I can see that now in pinconf_generic_dt_node_to_map() which is a
> lot of driver use ... I wonder if we can use the 'generic' one too.

How about this?

http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-December/130267.html

Does it work? It should, according the implementation code. I think we
can just use the
generics if we use 'groups' as a property for pinctrl bindings in the DT.

>
> Anyway,
>   Reported-and-tested-by: NeilBrown <n...@brown.name>
>
> for the addition of
>   *num_maps = 0;
>
> Thanks!
> NeilBrown

Best regards,
    Sergio Paracuellos
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to