mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
[ Upstream commit 7936378cb6d87073163130e1e1fc1e5f76a597cf ]
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: 3fbae28488 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c4c795b21d
commit
2c96f66cd0
@@ -706,7 +706,7 @@ static int mixel_dphy_probe(struct platform_device *pdev)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->id = of_alias_get_id(np, "mipi_dphy");
|
priv->id = of_alias_get_id(np, "mipi-dphy");
|
||||||
if (priv->id < 0) {
|
if (priv->id < 0) {
|
||||||
dev_err(dev, "Failed to get phy node alias id: %d\n",
|
dev_err(dev, "Failed to get phy node alias id: %d\n",
|
||||||
priv->id);
|
priv->id);
|
||||||
|
|||||||
Reference in New Issue
Block a user