Merge "qcacmn: Return error incase of hif bus runtime resume"

This commit is contained in:
Linux Build Service Account
2020-08-31 21:36:34 -07:00
committed by Gerrit - the friendly Code Review server
當前提交 729a5d82e4

查看文件

@@ -873,9 +873,14 @@ void hif_fastpath_resume(struct hif_opaque_softc *hif_ctx)
*/
int hif_runtime_resume(struct hif_opaque_softc *hif_ctx)
{
int errno;
QDF_BUG(!hif_bus_resume_noirq(hif_ctx));
QDF_BUG(!hif_bus_resume(hif_ctx));
return 0;
errno = hif_bus_resume(hif_ctx);
if (errno)
HIF_ERROR("%s: failed runtime resume: %d", __func__, errno);
return errno;
}
/**