phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 10 Jan 2024 09:33:43 +0000 (10:33 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 7 Feb 2024 10:19:40 +0000 (11:19 +0100)
Devicetree spec lists only dashes as valid characters for alias names.
Table 3.2: Valid characters for alias names, Devicee Specification,
Release v0.4

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Fixes: 3fbae284887de ("phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support")
Link: https://lore.kernel.org/r/20240110093343.468810-1-alexander.stein@ew.tq-group.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c

index e625b32889bfceaef9846db42e594e971cccb54d..0928a526e2ab3692eaeb1e4abaa45e23eee4cf5b 100644 (file)
@@ -706,7 +706,7 @@ static int mixel_dphy_probe(struct platform_device *pdev)
                        return ret;
                }
 
-               priv->id = of_alias_get_id(np, "mipi_dphy");
+               priv->id = of_alias_get_id(np, "mipi-dphy");
                if (priv->id < 0) {
                        dev_err(dev, "Failed to get phy node alias id: %d\n",
                                priv->id);