From: Bjorn Andersson Date: Wed, 26 Nov 2014 21:51:01 +0000 (-0800) Subject: regulator: qcom-rpm: Add missing state flag in call to RPM X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=803926825fa4db007437f76654e3e63bafb9b906;p=linux-beck.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index 8364ff331a81..edd0a1776936 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/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);