On 8/5/25 17:07, Andrew Lunn wrote:
On Tue, Aug 05, 2025 at 11:34:52AM -0400, Sean Anderson wrote:
quoted
For clarity and to remove the dependency on the parent netdev, use the
MDIO bus device in print statements.
quoted
@@ -186,28 +187,31 @@ static int axienet_mdio_enable(struct axienet_local *lp, struct device_node *np)
/* Legacy fallback: detect CPU clock frequency and use as AXI
* bus clock frequency. This only works on certain platforms.
*/
- np1 = of_find_node_by_name(NULL, "cpu");
+ np1 = of_find_node_by_name(NULL, "lpu");
There is nothing about dev in this change?
Whoops, this was left over from doing s/lp/cp/ and then reverting
it when I decided that there would be too much diffstat. Will fix for v5.
--Sean