Files
u-boot/drivers/net
Michal Simek 0a9f0e0d00 net: phy: xilinx: Break while loop over ethernet phy
The commit 6c993815bb ("net: phy: xilinx: Be compatible with live OF
tree") change driver behavior to while loop which wasn't correct because
the driver was looping over again and again. The reason was that
ofnode_valid() is taking 0 as correct value.
Fix it by changing while loop to ofnode_for_each_subnode() which is only
loop over available nodes.

Fixes: 6c993815bb ("net: phy: xilinx: Be compatible with live OF tree")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2021-04-29 10:05:56 +02:00
..
2021-02-21 18:46:41 -05:00
2021-02-24 16:51:49 -05:00
2020-12-18 20:32:21 -07:00
2021-04-20 07:31:12 -04:00
2018-07-26 14:08:21 -05:00
2021-02-15 10:16:24 -05:00