]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: prevent parallel suspend and dump collection
authorMaya Erez <qca_merez@qca.qualcomm.com>
Thu, 14 Dec 2017 16:53:09 +0000 (18:53 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 9 Jan 2018 08:03:27 +0000 (10:03 +0200)
commit862af47f02af964ea0062d6038a48673c6e8355c
tree2d090d3d7e030218d97f4b7573ceef798eeb2c59
parentde37d27fd4cc6815bdfe8cc2a29f384c665a6e72
wil6210: prevent parallel suspend and dump collection

Suspend and crash dump operations can happen simultaneously
in case there is a FW assert during the suspend procedure
or when SSR calls all the devices crashdump callbacks.

To prevent that, a new flag is added, indicating that the
dumps collection is in progress, in order to allow the
suspend/reset decline if the dumps collection already started.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/pm.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wil_crash_dump.c