Searched hist:c715b38473c842db34c408ede2d5727d2b50cf1c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil_crash_dump.c | diff c715b38473c842db34c408ede2d5727d2b50cf1c Wed Dec 18 12:10:10 CST 2019 Alexei Avshalom Lazar <ailizaro@codeaurora.org> wil6210: take mem_lock for writing in crash dump collection
On some crash dump cases mem_lock is already taken, error returns and crash dump copy fails. In this case wait until mem_lock available instead of failing the operation. Also take the mem_lock for writing to prevent other threads from altering the state of the device while collecting crash dump.
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|