[PATCH v1 2/2] ethernet: eswin: Add eic7700 ethernet driver

Jakub Kicinski kuba at kernel.org
Fri May 16 07:32:17 PDT 2025


On Fri, 16 May 2025 09:11:28 +0800 weishangjuan at eswincomputing.com
wrote:
> +	dwc_priv->clk_tx = devm_clk_get(&pdev->dev, "tx");
> +	if (IS_ERR(plat_dat->pclk)) {

you're checking the wrong pointer here

> +		dev_err(&pdev->dev, "tx clock not found.\n");
> +		return PTR_ERR(dwc_priv->clk_tx);
-- 
pw-bot: cr



More information about the linux-arm-kernel mailing list