Merge "power: qpnp-qg: Fix the sleep_length value in process_suspend"

This commit is contained in:
qctecmdr 2020-09-01 17:18:54 -07:00 • committed by Gerrit - the friendly Code Review server
commit b5b61d0f51

View file

@ -4449,6 +4449,7 @@ static int process_suspend(struct qpnp_qg *chip)
return rc;
}
sleep_fifo_length &= SLEEP_IBAT_QUALIFIED_LENGTH_MASK;
sleep_fifo_length++;
if (chip->dt.qg_sleep_config) {
qg_dbg(chip, QG_DEBUG_STATUS, "Suspend: Forcing S2_SLEEP\n");