diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-04-03 16:11:58 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-15 02:11:15 +0000 |
commit | 2daf48c4146649729e6a369608a52168e0849764 (patch) | |
tree | 63b3a0144984e65888280c71d7bd0db181996040 /board/halvor/board.c | |
parent | be61a53ffa746143eaf3817bff4bf66ae42babf6 (diff) | |
download | chrome-ec-2daf48c4146649729e6a369608a52168e0849764.tar.gz |
raa489000: Fix get_input_current()
The RAA489000 has an ADC register for retrieving the instantaneous
input current. This commit fixes a bug where we were simply returning
our input current limit instead of what the actual input current was.
BUG=b:148980034
BRANCH=None
TEST=Build and flash waddledoo, verify that the instantaneous input
current is returned.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I392ba8a4180fda5fb03e98a08f3c5bbfa51d6186
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2135962
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/halvor/board.c')
0 files changed, 0 insertions, 0 deletions