aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormabbas <mohamed.abbas@intel.com>2015-10-22 13:52:47 -0700
committerBruce Beare <bruce.j.beare@intel.com>2015-10-24 08:40:06 -0700
commitc83c2b5041f782aac6a009c79943a55f31c4b9d7 (patch)
tree9c27ad2cf11e43b25c166173c4165ccd940925ac
parent85763d0bbafce79b499831872120ba7ecf08a00f (diff)
downloadedison-v3.10-c83c2b5041f782aac6a009c79943a55f31c4b9d7.tar.gz
bcm: Fix hang issue on reboot (1).
Dont add job to tasklet on driver remover to avoid hang in tasklet_kill call Change-Id: I5efbb7a14ab537a5fc14a1a77be7f695dccf0757 Tracked-On: BP-63 Signed-off-by: mabbas <mohamed.abbas@intel.com>
-rw-r--r--drivers/staging/edison-bcm43340/dhd_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/edison-bcm43340/dhd_linux.c b/drivers/staging/edison-bcm43340/dhd_linux.c
index 8ce68a88c8a..f5be4c90c79 100644
--- a/drivers/staging/edison-bcm43340/dhd_linux.c
+++ b/drivers/staging/edison-bcm43340/dhd_linux.c
@@ -2394,7 +2394,7 @@ dhd_dpc(ulong data)
* the tasklet is initialized in dhd_attach()
*/
/* Call bus dpc unless it indicated down (then clean stop) */
- if (dhd->pub.busstate != DHD_BUS_DOWN) {
+ if ((dhd->pub.busstate != DHD_BUS_DOWN) && (shutdown_in_progress != TRUE)) {
if (dhd_bus_dpc(dhd->pub.bus))
tasklet_schedule(&dhd->tasklet);
else