|
@@ -1154,7 +1154,7 @@ static int gsc_runtime_resume(struct device *dev)
|
|
|
|
|
|
pr_debug("gsc%d: state: 0x%lx", gsc->id, gsc->state);
|
|
|
|
|
|
- ret = clk_enable(gsc->clock);
|
|
|
+ ret = clk_prepare_enable(gsc->clock);
|
|
|
if (ret)
|
|
|
return ret;
|
|
|
|
|
@@ -1172,7 +1172,7 @@ static int gsc_runtime_suspend(struct device *dev)
|
|
|
|
|
|
ret = gsc_m2m_suspend(gsc);
|
|
|
if (!ret)
|
|
|
- clk_disable(gsc->clock);
|
|
|
+ clk_disable_unprepare(gsc->clock);
|
|
|
|
|
|
pr_debug("gsc%d: state: 0x%lx", gsc->id, gsc->state);
|
|
|
return ret;
|