mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "qcacmn: Return error incase of hif bus runtime resume"
This commit is contained in:
commit
729a5d82e4
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue