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

Commit 744bb448 authored by Yu Tian's avatar Yu Tian Committed by Madan Koyyalamudi
Browse files

qcacmn: discard IPA TX ring flush before RTPM suspend

IPA TX ring HP is updated incorrectly and lead TX completion
ring hang. IPA TX ring should not be updated before RTPM suspend,
discard flushing.

Change-Id: Ic6063c5c76529a0c01ef822eeca87f4144c8db92
CRs-Fixed: 2981081
parent fdf35298
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -10573,6 +10573,8 @@ static QDF_STATUS dp_runtime_suspend(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)

		/* perform a force flush if tx is pending */
		for (i = 0; i < soc->num_tcl_data_rings; i++) {
			if (i == IPA_TCL_DATA_RING_IDX)
				continue;
			hal_srng_set_event(soc->tcl_data_ring[i].hal_srng,
					   HAL_SRNG_FLUSH_EVENT);
			dp_flush_ring_hptp(soc, soc->tcl_data_ring[i].hal_srng);