浏览代码

regulator: qcom-rpm: Add missing state flag in call to RPM

This adds the missing state parameter to the call down to the RPM. This
is currently hard coded to the active state, as that's all we're
supporting at this moment.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Bjorn Andersson 10 年之前
父节点
当前提交
803926825f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/regulator/qcom_rpm-regulator.c

+ 1 - 0
drivers/regulator/qcom_rpm-regulator.c

@@ -205,6 +205,7 @@ static int rpm_reg_write(struct qcom_rpm_reg *vreg,
 	vreg->val[req->word] |= value << req->shift;
 
 	return qcom_rpm_write(vreg->rpm,
+			      QCOM_RPM_ACTIVE_STATE,
 			      vreg->resource,
 			      vreg->val,
 			      vreg->parts->request_len);