summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2018-07-12 17:00:17 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-07-12 11:35:42 -0700
commit37ff3e662aacfbe796ee4e93771d25acde56aa7f (patch)
treeb4d1475797e3659f56eeeae28a18c44e3106095b /chip
parent4e0c9a26fe5024145d07c00790a93a892b34a12c (diff)
downloadchrome-ec-37ff3e662aacfbe796ee4e93771d25acde56aa7f.tar.gz
charger/mt6370: Fix led_set_color enables wrong LED.
The index of LED enable bit in the register is counting from the MSB. BRANCH=None TEST=mt6370_led_set_color() on EVB, checks the LED flash accordingly. BUG=b:80160408 Change-Id: I9c748b5f91a62746adaeab59899cd0222305e06b Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1134927 Commit-Ready: Yilun Lin <yllin@chromium.org> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions