mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Return -EAGAIN for idle shutdown if rmmod is in progress
If rmmod is in progress, return -EAGAIN for idle shutdown such that cnss driver does not power off the soc and rmmod can succeed. Change-Id: I91845da41bb666792a55aa3d446058025ce0fadb CRs-Fixed: 2751194
This commit is contained in:
parent
649f778e0c
commit
4b891d1d30
1 changed files with 1 additions and 0 deletions
|
|
@ -11218,6 +11218,7 @@ static int __hdd_psoc_idle_shutdown(struct hdd_context *hdd_ctx)
|
|||
errno = osif_psoc_sync_trans_start(hdd_ctx->parent_dev, &psoc_sync);
|
||||
if (errno) {
|
||||
hdd_info("psoc busy, abort idle shutdown; errno:%d", errno);
|
||||
errno = -EAGAIN;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue