Files
u-boot/drivers/net
Weijie Gao ebb97ea868 eth: mtk-eth: fix incorrect read of phy-handle
In mt7629-rfb.dts, the phy-handle is a reference to the node phy0, not the
node itself:

	phy-handle = <&phy0>;

	phy0: ethernet-phy@0 {
		reg = <0>;
	}

However the driver used ofnode_find_subnode("phy-handle") to read the node.
It will always fail.

This patch replaces ofnode_find_subnode with dev_read_phandle_with_args to
make sure the node can be read correctly.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-05-14 14:43:33 -05:00
..
2018-12-06 14:37:42 -08:00
2019-03-15 11:52:00 +05:30
2019-05-14 14:43:33 -05:00
2019-04-12 17:32:51 +02:00
2016-10-23 18:33:18 -04:00
2018-11-27 21:06:53 +05:30
2018-05-29 14:45:03 +08:00
2018-11-05 10:41:56 -06:00
2019-01-24 11:35:29 -06:00
2018-07-26 14:08:21 -05:00
2019-01-24 11:35:28 -06:00
2019-01-24 11:35:30 -06:00
2019-05-07 05:41:32 +02:00
2019-04-16 16:29:00 +05:30
2019-01-24 11:35:30 -06:00