summaryrefslogtreecommitdiff
path: root/common/peripheral_charger.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-05-28 10:48:14 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-25 16:36:56 +0000
commit59315ca614ae9883e5bfacb91d45b0d5529b0aa5 (patch)
tree07d47e2c7aaebb0eceabb28b3d9c23c6d072c70c /common/peripheral_charger.c
parent4f2e6792dd09c24805a0926c6239909b63acf1c5 (diff)
downloadchrome-ec-59315ca614ae9883e5bfacb91d45b0d5529b0aa5.tar.gz
chgstv2: Refactor charger_discharge_on_ac
This patch makes charger_discharge_on_ac call board_discharge_on_ac. It also makes set_chg_ctrl_mode call charger_discharge_on_ac. This makes sense since when the charge control mode changes, discharge-on-ac also needs to be enabled or disabled. BUG=b:188457962 BRANCH=none TEST=make runhosttests Change-Id: I65ec09f580afc987cc86f4c60c15c1f90ead6c3c Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2986848
Diffstat (limited to 'common/peripheral_charger.c')
0 files changed, 0 insertions, 0 deletions