Merge "qcacmn: Return error incase of hif bus runtime resume"
This commit is contained in:

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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user