diff options
author | Dave Airlie | 2015-04-20 03:32:26 +0200 |
---|---|---|
committer | Dave Airlie | 2015-04-20 05:05:20 +0200 |
commit | 2c33ce009ca2389dbf0535d0672214d09738e35e (patch) | |
tree | 6186a6458c3c160385d794a23eaf07c786a9e61b /drivers/gpu/drm/msm/dsi/dsi_host.c | |
parent | media-bus: Fixup RGB444_1X12, RGB565_1X16, and YUV8_1X24 media bus format (diff) | |
parent | Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/len... (diff) | |
download | kernel-qcow2-linux-2c33ce009ca2389dbf0535d0672214d09738e35e.tar.gz kernel-qcow2-linux-2c33ce009ca2389dbf0535d0672214d09738e35e.tar.xz kernel-qcow2-linux-2c33ce009ca2389dbf0535d0672214d09738e35e.zip |
Merge Linus master into drm-next
The merge is clean, but the arm build fails afterwards,
due to API changes in the regulator tree.
I've included the patch into the merge to fix the build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_host.c')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi_host.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index fdc54e3eff55..956b22492c9a 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_host.c +++ b/drivers/gpu/drm/msm/dsi/dsi_host.c @@ -327,8 +327,8 @@ static void dsi_host_regulator_disable(struct msm_dsi_host *msm_host) DBG(""); for (i = num - 1; i >= 0; i--) if (regs[i].disable_load >= 0) - regulator_set_optimum_mode(s[i].consumer, - regs[i].disable_load); + regulator_set_load(s[i].consumer, + regs[i].disable_load); regulator_bulk_disable(num, s); } @@ -343,8 +343,8 @@ static int dsi_host_regulator_enable(struct msm_dsi_host *msm_host) DBG(""); for (i = 0; i < num; i++) { if (regs[i].enable_load >= 0) { - ret = regulator_set_optimum_mode(s[i].consumer, - regs[i].enable_load); + ret = regulator_set_load(s[i].consumer, + regs[i].enable_load); if (ret < 0) { pr_err("regulator %d set op mode failed, %d\n", i, ret); @@ -363,7 +363,7 @@ static int dsi_host_regulator_enable(struct msm_dsi_host *msm_host) fail: for (i--; i >= 0; i--) - regulator_set_optimum_mode(s[i].consumer, regs[i].disable_load); + regulator_set_load(s[i].consumer, regs[i].disable_load); return ret; } |