commit | f926a2e1718edc28f59f1079ebb6832532810587 | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Thu Oct 04 15:24:04 2018 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Sun Oct 07 14:40:28 2018 -0400 |
tree | 12c10d41608dc20399d13c5cab357bf61b254c5e | |
parent | a69c5ed25d71c6342fbc6a52fb09b679456394e3 [diff] |
drm/msm: a5xx: 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: de0a3d094de0 drm/msm: re-factor devfreq code Cc: Sharat Masetty <smasetty@codeaurora.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>