misc: ls2_sfp: Fix regulator name
Unlike in Linux, -supply is not automatically appended to regulator
requests. Add it.
Fixes: 2645bc0e12
("arm: layerscape: Add sfp driver")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
ba89878d70
commit
4992d8360d
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ static int ls2_sfp_probe(struct udevice *dev)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
ret = device_get_supply_regulator(dev, "ta-sfp-prog", &priv->supply);
|
||||
ret = device_get_supply_regulator(dev, "ta-sfp-prog-supply", &priv->supply);
|
||||
if (ret && ret != -ENODEV && ret != -ENOSYS) {
|
||||
dev_dbg(dev, "problem getting supply (err %d)\n", ret);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue