Skip to content
Snippets Groups Projects
Commit 6f06ef57 authored by Simon Glass's avatar Simon Glass
Browse files

rockchip: rk3288: Add error debugging to veyron_init()


Add a debug() statement so we can see when something goes wrong with the
regulator.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 3238474b
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,10 @@ static int veyron_init(void)
int ret;
ret = regulator_get_by_platname("vdd_arm", &dev);
if (ret)
if (ret) {
debug("Cannot set regulator name\n");
return ret;
}
/* Slowly raise to max CPU voltage to prevent overshoot */
ret = regulator_set_value(dev, 1200000);
......
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