summaryrefslogtreecommitdiff
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorYuanyuan Liu <yuanliu@codeaurora.org>2018-01-10 15:52:06 -0800
committerYuanyuan Liu <yuanliu@codeaurora.org>2018-01-22 10:41:43 -0800
commit00d56be680058b861336998686d5127695dcf42f (patch)
treeced33b27130caa7ab768495ad97c378e5c3efca8 /fs/btrfs/async-thread.c
parenta5cabe9334b684f828dab1d28167d2b154536851 (diff)
icnss: Remove vote for hardware resources when FW is not down
There's a race condition that could happen between PDR and driver unloading, where platform removes its hardware resources vote at the end of driver de-initialization in between the 2 stages of WLAN FW reset recipe, which led to a bad state in WLAN HW. To avoid this, check WLAN FW state before removing hardware resources vote. Do not remove vote during driver unloading if WLAN FW is in down state. The vote will be released within FW ready indication handler once WLAN FW is recovered. Change-Id: Ic45c42c4d05676e60a8fb7a8b5cae306b1c3344e CRs-Fixed: 2158466 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions