From: Tom Rini Date: Thu, 23 Apr 2020 16:50:25 -0400 Subject: [PATCH] dm: pinctrl: Use right device pointer for configuring pinctrl In-Reply-To: <3f7c823bd17d42dcb45185f6d7707017@SFHDAG6NODE3.st.com> References: <20200422172531.29649-1-lokeshvutla@ti.com> <3f7c823bd17d42dcb45185f6d7707017@SFHDAG6NODE3.st.com> Message-ID: <20200423205025.GK4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 23, 2020 at 07:49:36AM +0000, Patrick DELAUNAY wrote: > Hi, > > > From: Lokesh Vutla > > 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 > > Signed-off-by: Lokesh Vutla > > --- > > drivers/pinctrl/pinctrl-single.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > Sorry for regression... > > Reviewed-by: Patrick Delaunay 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: