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

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

Merge "msm: ipa: Wait for the polling to complete before resetting the channel"

parents 35d006a5 09932626
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1329,11 +1329,9 @@ int ipa3_teardown_sys_pipe(u32 clnt_hdl)
		return result;
	}

	if (ep->sys->napi_obj) {
	do {
		usleep_range(95, 105);
	} while (atomic_read(&ep->sys->curr_polling_state));
	}

	if (IPA_CLIENT_IS_CONS(ep->client))
		cancel_delayed_work_sync(&ep->sys->replenish_rx_work);