summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c
index 08e9b671e958..281bedf0c574 100644
--- a/drivers/video/fbdev/msm/mdss_mdp.c
+++ b/drivers/video/fbdev/msm/mdss_mdp.c
@@ -761,8 +761,9 @@ void mdss_bus_bandwidth_ctrl(int enable)
if (changed) {
if (!enable) {
- msm_bus_scale_client_update_request(
- mdata->bus_hdl, 0);
+ if (!mdata->handoff_pending)
+ msm_bus_scale_client_update_request(
+ mdata->bus_hdl, 0);
pm_runtime_mark_last_busy(&mdata->pdev->dev);
pm_runtime_put_autosuspend(&mdata->pdev->dev);
} else {