|
@@ -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 hif_runtime_resume(struct hif_opaque_softc *hif_ctx)
|
|
{
|
|
{
|
|
|
|
+ int errno;
|
|
|
|
+
|
|
QDF_BUG(!hif_bus_resume_noirq(hif_ctx));
|
|
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;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|