Skip to content

Commit

Permalink
phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
Browse files Browse the repository at this point in the history
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: 3fbae28 ("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>
  • Loading branch information
Alexander Stein authored and Vinod Koul committed Feb 7, 2024
1 parent 54be6c6 commit 7936378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7936378

Please sign in to comment.