Browse Source

qcacld-3.0: Remove target_lock from hif_crash_shutdown

This is called by the platform driver in case of kernel panic.
Replacement syncronization might be needed here if the kernel
panic doesn't stop the other host cpus before the platform driver
calls this.

Change-Id: Ic6d4eb1cb08f6363029463994ec7e3837212e271
CRs-Fixed: 941355
Houston Hoffman 9 years ago
parent
commit
15ec6c6895
1 changed files with 0 additions and 3 deletions
  1. 0 3
      core/hif/src/hif_main.c

+ 0 - 3
core/hif/src/hif_main.c

@@ -788,8 +788,6 @@ void hif_crash_shutdown(void *hif_ctx)
 		return;
 	}
 
-	cdf_spin_lock_irqsave(&scn->target_lock);
-
 	hif_crash_shutdown_dump_ce_register(hif_ctx);
 
 	if (ol_copy_ramdump(scn))
@@ -798,7 +796,6 @@ void hif_crash_shutdown(void *hif_ctx)
 	HIF_INFO_MED("%s: RAM dump collecting completed!", __func__);
 
 out:
-	cdf_spin_unlock_irqrestore(&scn->target_lock);
 	return;
 }
 #else