Browse Source

msm:adsprpc:add error log in fastrpc init create dynamic process

When DSP process successfully spawned on the ADSP ,
the APPS side init memory is getting unmapped due to an error in driver,
by the time error printing in user space logs the SMMU fault is happening in ADSP.
So add the error log in fastrpc_init_create_dynamic_process.

Acked-by: Ramesh Nallagopu <[email protected]>
Change-Id: I6df8000e9e34fa0916947528a52793b164ab3acb
Signed-off-by: Santosh Sakore <[email protected]>
Santosh Sakore 2 năm trước cách đây
mục cha
commit
ccb5fba99d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      dsp/adsprpc.c

+ 1 - 0
dsp/adsprpc.c

@@ -3973,6 +3973,7 @@ bail:
 	spin_lock(&fl->hlock);
 	locked = 1;
 	if (err) {
+		ADSPRPC_ERR("failed with err %d\n", err);
 		fl->dsp_process_state = PROCESS_CREATE_DEFAULT;
 		if (!IS_ERR_OR_NULL(fl->init_mem)) {
 			init_mem = fl->init_mem;