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 <quic_avuyyuru@quicinc.com>
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
index 4c925de..7bc484a 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
@@ -1867,7 +1867,7 @@
 	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);
 	}