summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorTerence Hampson <thampson@codeaurora.org>2013-08-13 12:59:38 -0400
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:19:49 -0700
commit6a892d6122455f258fd045b96423915f1e08a47d (patch)
tree39ec50d96b72c5f8ca638e31de7f457f64b297fb /drivers/video/fbdev
parent5d4e61a50d957266f19f0d32d3d8078478f7e79b (diff)
mdss: ppp: Correct ppp bw request
Integer overflow occurred in calculating ib, this value was then given to bw request resulting in an invalid request. Change-Id: I71c56ecb7b412a8343ac400295a97f00207316e2 Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdp3_ppp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdp3_ppp.c b/drivers/video/fbdev/msm/mdp3_ppp.c
index 7f4e61ded89e..bc65dc55d74f 100644
--- a/drivers/video/fbdev/msm/mdp3_ppp.c
+++ b/drivers/video/fbdev/msm/mdp3_ppp.c
@@ -346,7 +346,7 @@ void mdp3_ppp_kickoff(void)
int mdp3_ppp_turnon(struct msm_fb_data_type *mfd, int on_off)
{
struct mdss_panel_info *panel_info = mfd->panel_info;
- int ab = 0, ib = 0;
+ uint64_t ab = 0, ib = 0;
int rate = 0;
if (on_off) {