[PATCH v2 1/1] net: axienet: Move reset before DMA detection

Andrew Lunn andrew at lunn.ch
Thu Jun 22 12:18:11 PDT 2023


> +	/* Reset core now that clocks are enabled, prior to accessing MDIO */
> +	ret = __axienet_device_reset(lp);
> +	if (ret)
> +		goto cleanup_clk;
> +
>  	/* Autodetect the need for 64-bit DMA pointers.

I would say the comment is now not fully correct. It probably should
be extended to include 64 bit DMA.

	Andrew



More information about the linux-arm-kernel mailing list