u-boot/drivers/net/phy
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
..
aquantia.c drivers: net: phy: Use Aquantia driver for AQR113C 2020-09-24 20:57:32 +05:30
atheros.c phy: atheros: ar8035: Fix clock output calculation 2020-06-22 17:40:41 +02:00
b53.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
broadcom.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ca_phy.c net: phy: ca_phy: Add driver for CAxxxx SoCs 2021-01-27 10:47:47 -05:00
cortina.c drivers/net/phy: Add CORTINA_NO_FW_UPLOAD to Kconfig 2020-12-10 13:56:39 +05:30
davicom.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
dp83867.c net: phy: Add support for TI PHY init 2020-06-12 13:17:23 -04:00
et1011c.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fixed.c net: phy: fixed: Support the old DT binding 2021-04-15 14:22:17 +05:30
generic_10g.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Kconfig net: phy: xilinx: Drop #ifdef CONFIG_DM_ETH around phy_connect_gmii2rgmii() 2021-04-15 14:22:17 +05:30
lxt.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Makefile net: phy: ca_phy: Add driver for CAxxxx SoCs 2021-01-27 10:47:47 -05:00
marvell.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
micrel_ksz8xxx.c net: phy: micrel: ksz8061 implement errata 80000688A fix 2020-06-12 13:17:23 -04:00
micrel_ksz90x1.c net: phy: micrel: Try default PHY ofnode first 2021-01-27 10:47:54 -05:00
miiphybb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc.c net: phy: mscc: sync rx/tx delay settings with Linux on vsc85xx 2020-09-30 16:48:18 -04:00
mv88e61xx.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mv88e6352.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
natsemi.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
ncsi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
phy.c net: phy: xilinx: Break while loop over ethernet phy 2021-04-29 10:05:56 +02:00
realtek.c net: phy: realtek: Introduce PHY_RTL8201F_S700_RMII_TIMINGS to adjust rx/tx timings 2020-07-07 16:09:22 -04:00
smsc.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
teranetics.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ti_phy_init.c net: phy: Add DP8382x phy registration to TI PHY init 2020-06-12 13:17:23 -04:00
ti_phy_init.h net: phy: Add support for TI PHY init 2020-06-12 13:17:23 -04:00
vitesse.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
xilinx_gmii2rgmii.c net: phy: xilinx: Be compatible with live OF tree 2021-04-15 14:22:17 +05:30
xilinx_phy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00