Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73a012df authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents d1592eb4 3839a953
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4427,6 +4427,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");