]> git.baikalelectronics.ru Git - uboot.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)
commit925a3f05e9c4e7a8755ec6a481cc44f5329723a0
tree1a4774863909adf711668c9ca000c2329ee69eca
parentd3462eac2b4b5ce6ce30c35e781d4ba8e0dfbed5
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