Commit d8f065e9 authored by Shreyas K K's avatar Shreyas K K
Browse files

platform: msm_shared: Count the leading zeros in ecc_buf



The leading zeros are not counted once the val becomes
negative after right shifting. Complement the val and
count the number of ones.

Change-Id: I28eee38ac31624330ef0cf7c2ba41a7d8f55ab5a
Signed-off-by: default avatarShreyas K K <shrekk@codeaurora.org>
parent fb62231b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment