[PATCH] dm: pinctrl: Use right device pointer for configuring pinctrl
Patrick DELAUNAY
patrick.delaunay at st.com
Thu Apr 23 09:49:36 CEST 2020
Hi,
> From: Lokesh Vutla <lokeshvutla at ti.com>
> Sent: mercredi 22 avril 2020 19:26
>
> commit 719cab6d2e2bf ("dm: pinctrl: convert pinctrl-single to livetree") converted
> pinctrl driver to livetree. In this conversion, the call to read pinctrl-single,pins/bits
> property is provided with pinctrl device pointer instead of pinctrl config pointer.
> Because of this none of the pins gets configured. Fix it by passing the right
> udevice pointer.
>
> Fixes: 719cab6d2e2bf ("dm: pinctrl: convert pinctrl-single to livetree")
> Reported-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> ---
> drivers/pinctrl/pinctrl-single.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Sorry for regression...
Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>
And thanks for the fixe
Patrick
More information about the U-Boot
mailing list