From 8333c568ceea55895d7ff3aeadd93d255e3bec47 Mon Sep 17 00:00:00 2001 From: gongsc1 Date: Tue, 28 Sep 2021 13:46:20 +0800 Subject: [PATCH] charger/rt9467:remove MMI_STOPSHIP change. annotate walkaround solution and remove MMI_STOPSHIP tag. Change-Id: Ia6df94d69360673970447e4fe473d9de05e8286a Reviewed-on: https://gerrit.mot.com/2078206 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/power/rt9467_chg_mmi/rt9467_charger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/power/rt9467_chg_mmi/rt9467_charger.c b/drivers/power/rt9467_chg_mmi/rt9467_charger.c index 6ca952257628..6c4e04345e6c 100644 --- a/drivers/power/rt9467_chg_mmi/rt9467_charger.c +++ b/drivers/power/rt9467_chg_mmi/rt9467_charger.c @@ -3273,8 +3273,9 @@ static void rt9467_shutdown(struct i2c_client *client) ret = rt9467_sw_reset(info); if (ret < 0) pr_notice("%s: sw reset fail\n", __func__); - // MMI_STOPSHIP : add delay to power off once pressing PWR key with EVT board - msleep(500); + /* Warnning! This is just a walkaround solution for reboot issue! + * Qualcomm project use REGNN pin connect to CBL_PWR_N will cause this bug*/ + //msleep(500); } }