Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
ccb5fba99d
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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;