From db42e6fa82a44dc44511d3024f832cee6c8cfed7 Mon Sep 17 00:00:00 2001 From: Troy Kisky <troy.kisky@boundarydevices.com> Date: Sat, 13 Oct 2018 12:00:52 -0700 Subject: [PATCH] boundary: max77823: don't change boost when disabling otg Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> --- board/boundary/common/max77823.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/boundary/common/max77823.c b/board/boundary/common/max77823.c index d8c823835fa..df694470c6b 100644 --- a/board/boundary/common/max77823.c +++ b/board/boundary/common/max77823.c @@ -310,11 +310,11 @@ static void max77823_otg_enable(void) static void max77823_otg_disable(void) { - /* chrg on, OTG off, boost on/off, (buck on) */ + /* chrg on, OTG off, boost unchanged, (buck on) */ max77823_update_reg(I2C_ADDR_CHARGER, MAX77823_CHG_CNFG_00, CHG_CNFG_00_CHG_MASK | CHG_CNFG_00_BUCK_MASK, CHG_CNFG_00_CHG_MASK | CHG_CNFG_00_BUCK_MASK | - CHG_CNFG_00_OTG_MASK | CHG_CNFG_00_BOOST_MASK); + CHG_CNFG_00_OTG_MASK); mdelay(50); -- GitLab