qcacmn: set init_phase to false for wcn6450

Mark init_phase to false in hal_soc for wcn6450 during
driver load completion.

Change-Id: Ib76b7b7cbacd59cdeada13861bf2146ae47fc82c
CRs-Fixed: 3514777
This commit is contained in:
Venkateswara Naralasetty
2023-05-30 12:32:41 +05:30
committed by Rahul Choudhary
parent 844d0c7af8
commit 9d022375f6

View File

@@ -90,6 +90,7 @@ void *hif_get_targetdef(struct hif_opaque_softc *hif_ctx)
}
#ifdef FORCE_WAKE
#ifndef QCA_WIFI_WCN6450
void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx,
bool init_phase)
{
@@ -98,6 +99,15 @@ void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx,
if (ce_srng_based(scn))
hal_set_init_phase(scn->hal_soc, init_phase);
}
#else
void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx,
bool init_phase)
{
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
hal_set_init_phase(scn->hal_soc, init_phase);
}
#endif
#endif /* FORCE_WAKE */
#ifdef HIF_IPCI