Commit 15229ce3 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Merge branch 'net-hisilicon-minor-fixes'

Krzysztof Kozlowski says:

====================
net: hisilicon: minor fixes

Minor fixes for hisilicon ethernet driver which look too trivial to be
considered for current RC.
====================

Link: https://patch.msgid.link/20240827144421.52852-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 387c4152 e62beddc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -947,6 +947,7 @@ static int hip04_mac_probe(struct platform_device *pdev)
	priv->tx_coalesce_timer.function = tx_done;

	priv->map = syscon_node_to_regmap(arg.np);
	of_node_put(arg.np);
	if (IS_ERR(priv->map)) {
		dev_warn(d, "no syscon hisilicon,hip04-ppe\n");
		ret = PTR_ERR(priv->map);
+1 −0
Original line number Diff line number Diff line
@@ -933,6 +933,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
			mac_cb->cpld_ctrl = NULL;
		} else {
			syscon = syscon_node_to_regmap(cpld_args.np);
			of_node_put(cpld_args.np);
			if (IS_ERR_OR_NULL(syscon)) {
				dev_dbg(mac_cb->dev, "no cpld-syscon found!\n");
				mac_cb->cpld_ctrl = NULL;
+1 −0
Original line number Diff line number Diff line
@@ -575,6 +575,7 @@ static int hns_mdio_probe(struct platform_device *pdev)
						MDIO_SC_RESET_ST;
				}
			}
			of_node_put(reg_args.np);
		} else {
			dev_warn(&pdev->dev, "find syscon ret = %#x\n", ret);
			mdio_dev->subctrl_vbase = NULL;