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:
Mohammed Javid <mjavid@codeaurora.org>
Loading
Please register or sign in to comment