qcacmn: Return if pld_is_pci_ep_awake is not supported
Add check for verifying pld_is_pci_ep_awake support before waiting till EP vote reset is done after reg completion Change-Id: I9061c212c115d158aec63464eedcf6ca98e11a56 CRs-Fixed: 3038992
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
dff5855dd9
کامیت
7a52367615
@@ -1096,6 +1096,9 @@ QDF_STATUS hif_try_prevent_ep_vote_access(struct hif_opaque_softc *hif_ctx)
|
||||
qdf_sleep(10);
|
||||
}
|
||||
|
||||
if (pld_is_pci_ep_awake(scn->qdf_dev->dev) == -ENOTSUPP)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
while (pld_is_pci_ep_awake(scn->qdf_dev->dev)) {
|
||||
if (++wait_cnt > HIF_EP_WAKE_RESET_WAIT_CNT) {
|
||||
hif_err("Release EP vote is not proceed by Fw");
|
||||
|
مرجع در شماره جدید
Block a user