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

Tom Rini trini at konsulko.com
Wed Apr 22 19:29:37 CEST 2020


On Wed, Apr 22, 2020 at 10:55:31PM +0530, Lokesh Vutla wrote:

> 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>

Thanks for the quick turn-around!

Tested-by: Tom Rini <trini at konsulko.com> [am65x_evm_a53 / am65x_evm_r5]

I'll pick this up soon to give others a chance to comment.

-- 
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/20200422/12fb57a3/attachment.sig>


More information about the U-Boot mailing list