소스 검색

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 년 전
부모
커밋
15ec6c6895
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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