[PATCH v1 2/2] net: stmmac: eic7700: enable clocks before syscon access and correct RX sampling timing

Andrew Lunn andrew at lunn.ch
Fri Jan 9 10:31:09 PST 2026


> +	dwc_priv->eic7700_hsp_regmap =
> +			syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
> +							"eswin,hsp-sp-csr");
> +	if (IS_ERR(dwc_priv->eic7700_hsp_regmap))
>  		return dev_err_probe(&pdev->dev,
> -				PTR_ERR(eic7700_hsp_regmap),
> +				PTR_ERR(dwc_priv->eic7700_hsp_regmap),
>  				"Failed to get hsp-sp-csr regmap\n");

In order to be backwards compatible, you cannot error out here,
because old DT blobs won't have this property.

	Andrew



More information about the linux-arm-kernel mailing list