Skip to content
Snippets Groups Projects
Commit 80dae36b authored by Joris Offouga's avatar Joris Offouga Committed by Stefano Babic
Browse files

warp7: Fix the pmic_get() parameter in the DM case


When pmic_get() is used with DM the first parameter must be
the complete node name plus the unit address, so fix it
accordingly

Signed-off-by: default avatarJoris Offouga <offougajoris@gmail.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
parent a05eb8b1
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ int power_init_board(void)
struct udevice *dev;
int ret, dev_id, rev_id;
ret = pmic_get("pfuze3000", &dev);
ret = pmic_get("pfuze3000@8", &dev);
if (ret == -ENODEV)
return 0;
if (ret != 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment