commit | 16f37102181e23ec4bec88fe1cfdd6c3c24dd1ed | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Mon Oct 08 14:24:14 2018 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Mon Oct 08 20:16:01 2018 -0400 |
tree | a073db2f7f9f9b919bd91248fb27762e3a7fdb77 | |
parent | 0f5427219bdf3e3d0ba94e4fbefe623a57616825 [diff] |
drm/msm: a6xx: Fix improper u64 division This patch uses the proper do_div() macro to perform u64 division and guards against overflow if the result is too large for the unsigned long return type Fixes: a2c3c0a54d4c drm/msm/a6xx: Add devfreq support for a6xx Cc: Sharat Masetty <smasetty@codeaurora.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>