Skip to content
Commit 8ce571b2 authored by Archana Sriram's avatar Archana Sriram Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarArchana Sriram <apsrir@codeaurora.org>
parent f92f804a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment