Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a49d53d authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa: Release wlan cons resource



Couple of code changes,
 - During wdi disable, ipa driver set suspend on
   wdi TX ep, i.e IPA --> WLAN cons ep.
   Get suspend handler due this suspend bit set,
   and during which ipa driver invoke wlan callback for resource request.
   In turn wlan driver returned failure due to wlan driver unloading.
   Due to this failure ipa driver was not releasing resources
   and WLAN CONS's ep's are not suspended even though wdi is
   disabled. Go ahead and handle suspend of resources in case
   of -EPERM return.

 - Delayed work which is responsible for releasing resources
   has been scheduled after resources been deleted.
   so, flush the work before we delete the resources.

Change-Id: I0c31c7dab0a3174cba13a9f6d657c3e991f8b612
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 1a292e47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment