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:

committed by
Gerrit - the friendly Code Review server

parent
6554e75e39
commit
0821b24a81
1
dsp/adsprpc.c
Normal file → Executable file
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 memory for process %d should be between %d and %d\n",
|
||||||
init->memlen, INIT_MEMLEN_MIN_DYNAMIC, INIT_MEMLEN_MAX_DYNAMIC);
|
init->memlen, INIT_MEMLEN_MIN_DYNAMIC, INIT_MEMLEN_MAX_DYNAMIC);
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
|
spin_unlock(&fl->hlock);
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
dsp_userpd_memlen = init->memlen;
|
dsp_userpd_memlen = init->memlen;
|
||||||
|
Reference in New Issue
Block a user