[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251230141050.93856-1-Julia.Lawall@inria.fr>
Date: Tue, 30 Dec 2025 15:10:50 +0100
From: Julia Lawall <Julia.Lawall@...ia.fr>
To: Vinod Koul <vkoul@...nel.org>
Cc: yunbolyu@....edu.sg,
kexinsun@...il.nju.edu.cn,
ratnadiraw@....edu.sg,
xutong.ma@...ia.fr,
Kishon Vijay Abraham I <kishon@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
linux-phy@...ts.infradead.org,
linux-renesas-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference
Replace cmpxcgh by cmpxchg.
Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>
---
drivers/phy/renesas/phy-rcar-gen2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen2.c b/drivers/phy/renesas/phy-rcar-gen2.c
index c0221e7258c0..08d36e6eabcd 100644
--- a/drivers/phy/renesas/phy-rcar-gen2.c
+++ b/drivers/phy/renesas/phy-rcar-gen2.c
@@ -85,7 +85,7 @@ static int rcar_gen2_phy_init(struct phy *p)
* Try to acquire exclusive access to PHY. The first driver calling
* phy_init() on a given channel wins, and all attempts to use another
* PHY on this channel will fail until phy_exit() is called by the first
- * driver. Achieving this with cmpxcgh() should be SMP-safe.
+ * driver. Achieving this with cmpxchg() should be SMP-safe.
*/
if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1)
return -EBUSY;
Powered by blists - more mailing lists