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

Commit 90811ee5 authored by Jilai Wang's avatar Jilai Wang Committed by Gerrit - the friendly Code Review server
Browse files

msm: npu: fix network and misc commands race condition problem



misc command doesn't do npu_init before sending to firmware, so
it's possible that npu will be turned off while npu firmware is
handling misc commands which causes times out in host driver.
To fix this issue, npu_init/npu_deinit need to be called before
and after misc commands are handled. In addition, only one misc
command should be handled at any moment. The misc command should
be failed right away while the other one is being handled.

Change-Id: I523255da15fa4e3b8b21d74b28f90d3458ebeb3c
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent 78d37755
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