From ccb5fba99d7553d1aa78f04a8c0b46d1d5b5347f Mon Sep 17 00:00:00 2001 From: Santosh Sakore Date: Wed, 26 Apr 2023 16:23:30 +0530 Subject: [PATCH] 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 Change-Id: I6df8000e9e34fa0916947528a52793b164ab3acb Signed-off-by: Santosh Sakore --- dsp/adsprpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dsp/adsprpc.c b/dsp/adsprpc.c index f2a138574b..52059df8fc 100755 --- a/dsp/adsprpc.c +++ b/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;