Commit 4033d952 authored by David Lechner's avatar David Lechner Committed by Kishon Vijay Abraham I

phy: da8xx-usb: Fix syscon device name

The syscon device in board config/device tree has been renamed.
Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 33692e3c
...@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev) ...@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
d_phy->regmap = syscon_regmap_lookup_by_compatible( d_phy->regmap = syscon_regmap_lookup_by_compatible(
"ti,da830-cfgchip"); "ti,da830-cfgchip");
else else
d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0"); d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
if (IS_ERR(d_phy->regmap)) { if (IS_ERR(d_phy->regmap)) {
dev_err(dev, "Failed to get syscon\n"); dev_err(dev, "Failed to get syscon\n");
return PTR_ERR(d_phy->regmap); return PTR_ERR(d_phy->regmap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment