commit | 8b25afe82a5a43aae162b62db88831569f02d91c | [log] [tgz] |
---|---|---|
author | Umang Chheda <uchheda@codeaurora.org> | Thu Mar 19 11:27:20 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Mar 18 23:33:05 2020 -0700 |
tree | cd3cb42b3c10fc8c6baa72d4490933e0723e12aa | |
parent | 36cc539de99121fdfb9ddee8c577cd0d4e1e53e7 [diff] |
dev: pmic: Fix incorrect assignment of data read from FG SRAM Four bytes of data read from FG are combined incorrectly which leads to final data being incorrect. Fix this by ORing the bits from 24-32 instead of directly assigning it to a variable. Change-Id: I5ad67fca2a48a23df5e7d95c2739313f03544f33 Signed-off-by: Umang Chheda <uchheda@codeaurora.org>