msm:ADSPRPC: adding spin_unlock when bailing.

spin_lock should be released before bailing.

Change-Id: I3ac6043221272fa1dda2f36f4add810df41a17f3
Acked-by: ANANDU E <anane@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
This commit is contained in:
Vamsi Krishna Gattupalli
2023-01-10 14:32:02 +05:30
کامیت شده توسط Gerrit - the friendly Code Review server
والد 6554e75e39
کامیت 0821b24a81

1
dsp/adsprpc.c Normal file → Executable file
مشاهده پرونده

@@ -3661,6 +3661,7 @@ static int fastrpc_init_create_dynamic_process(struct fastrpc_file *fl,
"init memory for process %d should be between %d and %d\n",
init->memlen, INIT_MEMLEN_MIN_DYNAMIC, INIT_MEMLEN_MAX_DYNAMIC);
err = -EINVAL;
spin_unlock(&fl->hlock);
goto bail;
}
dsp_userpd_memlen = init->memlen;