commit | d8f065e9180408ad63857d42115f92541abcbf1b | [log] [tgz] |
---|---|---|
author | Shreyas K K <shrekk@codeaurora.org> | Tue Jun 23 12:55:37 2020 +0530 |
committer | Shreyas K K <shrekk@codeaurora.org> | Tue Jul 21 14:34:13 2020 +0530 |
tree | 7fe2a9377efe93a383bf70d0fb24fb7fcfdfd37c | |
parent | fb62231b3ae93d20d8a828fbdfe29f0ed3c57e7f [diff] |
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: Shreyas K K <shrekk@codeaurora.org>