[PATCH] dm: pinctrl: Use right device pointer for configuring pinctrl

Tom Rini trini at konsulko.com
Thu Apr 23 22:50:25 CEST 2020


On Thu, Apr 23, 2020 at 07:49:36AM +0000, Patrick DELAUNAY wrote:
> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200423/29da57c0/attachment-0001.sig>


More information about the U-Boot mailing list