Message ID | 1417038661-30209-4-git-send-email-bjorn.andersson@sonymobile.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Nov 26, 2014 at 01:51:01PM -0800, Bjorn Andersson wrote: > 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. Acked-by: Mark Brown <broonie@kernel.org>
Mark, Do you want a pull-request for this, or can I absorb it right into my tree? > 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> > --- > drivers/regulator/qcom_rpm-regulator.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c > index b55cd5b..8f66040 100644 > --- a/drivers/regulator/qcom_rpm-regulator.c > +++ b/drivers/regulator/qcom_rpm-regulator.c > @@ -198,6 +198,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);
On Tue, Jan 20, 2015 at 02:19:54PM +0000, Lee Jones wrote: > Do you want a pull-request for this, or can I absorb it right into my > tree? Just apply it.
On Wed, 26 Nov 2014, Bjorn Andersson wrote: > 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> > --- > drivers/regulator/qcom_rpm-regulator.c | 1 + > 1 file changed, 1 insertion(+) Applied with Mark's Ack, thanks. > diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c > index b55cd5b..8f66040 100644 > --- a/drivers/regulator/qcom_rpm-regulator.c > +++ b/drivers/regulator/qcom_rpm-regulator.c > @@ -198,6 +198,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);
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index b55cd5b..8f66040 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c @@ -198,6 +198,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);
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> --- drivers/regulator/qcom_rpm-regulator.c | 1 + 1 file changed, 1 insertion(+)