kernel: restore 640-bridge_no_eap_forward.patch to its original form
[15.05/openwrt.git] / target / linux / ipq806x / patches-3.18 / 125-regulator-qcom-rpm-Add-missing-state-flag-in-call-to.patch
1 From 803926825fa4db007437f76654e3e63bafb9b906 Mon Sep 17 00:00:00 2001
2 From: Bjorn Andersson <bjorn.andersson@sonymobile.com>
3 Date: Wed, 26 Nov 2014 13:51:01 -0800
4 Subject: [PATCH] regulator: qcom-rpm: Add missing state flag in call to RPM
5
6 This adds the missing state parameter to the call down to the RPM. This
7 is currently hard coded to the active state, as that's all we're
8 supporting at this moment.
9
10 Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
11 Signed-off-by: Lee Jones <lee.jones@linaro.org>
12 ---
13  drivers/regulator/qcom_rpm-regulator.c | 1 +
14  1 file changed, 1 insertion(+)
15
16 --- a/drivers/regulator/qcom_rpm-regulator.c
17 +++ b/drivers/regulator/qcom_rpm-regulator.c
18 @@ -205,6 +205,7 @@ static int rpm_reg_write(struct qcom_rpm
19         vreg->val[req->word] |= value << req->shift;
20  
21         return qcom_rpm_write(vreg->rpm,
22 +                             QCOM_RPM_ACTIVE_STATE,
23                               vreg->resource,
24                               vreg->val,
25                               vreg->parts->request_len);