summaryrefslogtreecommitdiff
path: root/drivers/dpll/zl3073x
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-21 15:02:54 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-21 15:09:02 -0700
commit6a20b34fe3b31b292078bc79ec18a2ab0d9f7719 (patch)
tree3d691b402ee221c67875b04f4cef738b0d2ef7cb /drivers/dpll/zl3073x
parent73366893d1d58d247bef70406280f71030495424 (diff)
parent68993ced0f618e36cf33388f1e50223e5e6e78cc (diff)
downloadlinux-next-6a20b34fe3b31b292078bc79ec18a2ab0d9f7719.tar.gz
linux-next-6a20b34fe3b31b292078bc79ec18a2ab0d9f7719.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-7.1-rc5). No conflicts, adjacent changes: drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c cc199cd1b912 ("net/mlx5e: Reduce branches in napi poll") c326f9c68921 ("net/mlx5e: xsk: Fix unlocked writing to ICOSQ") drivers/net/ethernet/mellanox/mlx5/core/eswitch.c c6df9a65cbb0 ("net/mlx5: Skip disabled vports when setting max TX speed") 1fba57c91416 ("net/mlx5: Add VHCA_ID page management mode support") net/mac80211/mlme.c a6e6ccd5bd07 ("wifi: mac80211: consume only present negotiated TTLM maps") 49e62ec6eb06 ("wifi: mac80211: move frame RX handling to type files") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/dpll/zl3073x')
-rw-r--r--drivers/dpll/zl3073x/dpll.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/dpll/zl3073x/dpll.c b/drivers/dpll/zl3073x/dpll.c
index cff85cdb9d0e..605801964c3c 100644
--- a/drivers/dpll/zl3073x/dpll.c
+++ b/drivers/dpll/zl3073x/dpll.c
@@ -1434,8 +1434,8 @@ zl3073x_dpll_pin_register(struct zl3073x_dpll_pin *pin, u32 index)
err_register:
dpll_pin_put(pin->dpll_pin, &pin->tracker);
- pin->dpll_pin = NULL;
err_pin_get:
+ pin->dpll_pin = NULL;
fwnode_handle_put(pin->fwnode);
pin->fwnode = NULL;
zl3073x_pin_props_put(props);
@@ -1603,8 +1603,10 @@ zl3073x_dpll_pins_register(struct zl3073x_dpll *zldpll)
}
rc = zl3073x_dpll_pin_register(pin, index);
- if (rc)
+ if (rc) {
+ zl3073x_dpll_pin_free(pin);
goto error;
+ }
list_add(&pin->list, &zldpll->pins);
}