Commit 00a01ba7 authored by Jordan Crouse's avatar Jordan Crouse Committed by Rajeev Kulkarni
Browse files

msm: kgsl: Use signed integers for power level comparsions



The code that clamped the power levels to the requested minimum and
maximum values was mixing comparison signed and unsigned integers with
predictiably faulty results.  Move all values to signed integers to
handle negative power level numbers correctly

CRs-fixed: 427670
Change-Id: Ic0dedbada6153dc0b109923b376c3aa9a6abbeee
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 3c337a36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment