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

Skip to content
Commit 7bbba813 authored by Rishabh Bhatnagar's avatar Rishabh Bhatnagar
Browse files

devfreq: memlat: Fix macros to support 32 bit kernels



Cast MBYTE macro to unsiged long instead of unsigned long long.
Unsigned long long causes division errors when used for 32 bit
kernels. Also, add a new macro for Mbps to icc conversion
without loss of precision.

Change-Id: I584869c510d614e47ab7090a1f328df307d412a8
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
parent bd143171
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment