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

Skip to content
Commit dcdb0527 authored by Jilai Wang's avatar Jilai Wang
Browse files

msm: npu: Fix race condition issue when disabling fw



npu_disable_fw_work may be queued multiple times in certain race
contition, so it may call disable fw function multiple times by
mistake. A condition check is added to only allow it to disable fw
if it's enabled by itself to fix this issue.

Change-Id: Ia3c7136b3bd575fff016100f400638f98dfb6835
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent 2b36de55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment