]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: renesas: phy-rcar-gen2: fix typo in function name reference
authorJulia Lawall <Julia.Lawall@inria.fr>
Tue, 30 Dec 2025 14:10:50 +0000 (15:10 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 1 Jan 2026 10:32:44 +0000 (16:02 +0530)
Replace cmpxcgh by cmpxchg.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251230141050.93856-1-Julia.Lawall@inria.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/phy-rcar-gen2.c

index c0221e7258c0321005171bdab9c57d5ae784a8d6..08d36e6eabcd6262f8364175627291c81b07a97a 100644 (file)
@@ -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;