summaryrefslogtreecommitdiff
path: root/driver/als_opt3001.c
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2019-12-09 11:14:04 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-09 09:11:53 +0000
commit7ab6523fe5a8badb379e93fe9bb07c85df40eac6 (patch)
tree2e43c5ea46bd624d9599d174b4ab128e007d78c2 /driver/als_opt3001.c
parent54da7ca73b726fe29a61ee5f7029c4b66619b239 (diff)
downloadchrome-ec-7ab6523fe5a8badb379e93fe9bb07c85df40eac6.tar.gz
charger/rt946x: fix updating CHARGE_SUPPLIER_NONE
If the supplier is CHARGE_SUPPLIER_NONE (-1), then we shouldn't update charge_manager information. TEST=plug PD charger, and unplug, and see manual_voltage and manual_current are not clobbered. BUG=b:145721867, b:141005922 BRANCH=kukui Change-Id: I05c17a8f600cc780288d732ac9ed28fd86090867 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1957610 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'driver/als_opt3001.c')
0 files changed, 0 insertions, 0 deletions