Files
u-boot/drivers
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-03-08 10:32:34 +01:00
2021-04-10 08:01:00 -04:00
2021-04-10 08:04:42 -04:00
2021-04-12 17:44:55 -04:00
2021-04-10 07:59:35 -04:00
2021-03-27 13:59:36 +13:00
2021-03-13 13:14:52 -05:00
2021-04-18 04:29:36 +02:00
2021-01-23 11:30:31 +01:00
2020-11-06 10:18:20 +08:00