commit | 8ce571b2d444222793630ff0d304d0faa19f5ea0 | [log] [tgz] |
---|---|---|
author | Archana Sriram <apsrir@codeaurora.org> | Thu Oct 12 18:33:33 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 23 22:28:54 2017 -0700 |
tree | d69a633aeca94e0215e69c68cb2cd76b63a0eb0b | |
parent | f92f804a549d82d5a58ed345a4cb7027e3870b65 [diff] |
msm: kgsl: Correct the number of voltage levels for a rail In rpmh_arc_cmds(), len got from cmd_db_get_aux_data_len() is twice the number of voltage levels. Hence, arc->num which represents voltage levels for a rail, should be evaluated by traversing arc->val table upto (len >> 1) instead of len or MAX_GX_LEVELS. Change-Id: Ide4899aee255ab410a469ee1fdb720f61e54d962 Signed-off-by: Archana Sriram <apsrir@codeaurora.org>