OSDN Git Service

icnss: Defer modem graceful shutdown until probe complete
authorAnurag Chouhan <achouhan@codeaurora.org>
Fri, 8 Feb 2019 09:59:11 +0000 (15:29 +0530)
committerSandeep Singh <sandsing@codeaurora.org>
Tue, 26 Mar 2019 08:52:06 +0000 (14:22 +0530)
commit1174076aa273369f86d2d46ad679dc0862c80db8
treecef842c3f6ecf523c67affde07ea72bb35cdfe40
parent6543b0a4ad9ae3888e889ff3b6196e351c77aaa2
icnss: Defer modem graceful shutdown until probe complete

In case WLAN driver probe is in progress and modem graceful
shutdown occurs and if modem shutdown request is sent just
before the mode on request sent to firmware, firmware may end up
in illegal memory access.
To address this issue, modem notifier needs to be blocked needs for
probe to complete or max 5 seconds timeout.

CRs-Fixed: 2381846
Change-Id: I9e13a11c56059cb29e161c34df11de484f87ac5e
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
drivers/soc/qcom/icnss.c