]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: Fix off-by-one error when parsing DT PHY bindings
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 7 Aug 2018 10:24:35 +0000 (12:24 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 14 Aug 2018 09:31:19 +0000 (11:31 +0200)
commit5e50adf6679831bc34a567a1bf20ff1642c418dd
tree1a4774863909adf711668c9ca000c2329ee69eca
parenta032e0a6aed208977f48e78d2cc497b91543beaf
phy: Fix off-by-one error when parsing DT PHY bindings

The code fails to copy the last PHY phandle argument, so it is
missing from the adjusted phandle args and the consumer cannot
use it to determine what the PHY should do.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
drivers/phy/phy-uclass.c