Files
u-boot/drivers
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
..
2019-05-09 19:52:55 -04:00
2019-01-15 15:28:53 -05:00
2019-02-27 09:12:33 +08:00
2019-02-20 15:27:08 +08:00
2018-12-06 14:37:51 -08:00
2019-05-08 17:34:12 +08:00
2019-05-10 22:48:11 +02:00
2019-05-10 22:48:11 +02:00
2018-11-29 09:30:06 -07:00
2019-05-05 08:48:50 -04:00