Эх сурвалжийг харах

msm: ipa3: Flush free page WQ only for page recyle replenish handler

Free page work init only for page recycle replenish handler.

Change-Id: Ieb5e7b2deb109fa46d3ab38be44eaf34fffd4ad2
Signed-off-by: Ashok Vuyyuru <[email protected]>
Ashok Vuyyuru 3 жил өмнө
parent
commit
7f064cd7a1

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

@@ -1867,7 +1867,7 @@ int ipa3_teardown_sys_pipe(u32 clnt_hdl)
 	if (ep->sys->repl_wq)
 		flush_workqueue(ep->sys->repl_wq);
 
-	if(ep->sys->common_sys) {
+	if (ep->sys->repl_hdlr == ipa3_replenish_rx_page_recycle) {
 		cancel_delayed_work_sync(&ep->sys->common_sys->freepage_work);
 		tasklet_kill(&ep->sys->common_sys->tasklet_find_freepage);
 	}