Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c14358af authored by Terence Hampson's avatar Terence Hampson Committed by Stephen Boyd
Browse files

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: default avatarTerence Hampson <thampson@codeaurora.org>
parent 75b2f358
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,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) {