mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
msm: adsprpc: return fastrpc ioctl call if process exit sequence start
Added check to return fastrpc ioctl call when process exit sequence is in progress. Change-Id: I83915cb3fb75cc69d245a56800dcf42b492e01ea Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com> Signed-off-by: Jeya R <jeyr@codeaurora.org>
This commit is contained in:
parent
b794964c98
commit
2a98c1c02d
1 changed files with 1 additions and 1 deletions
|
|
@ -6054,7 +6054,7 @@ static long fastrpc_device_ioctl(struct file *file, unsigned int ioctl_num,
|
|||
goto bail;
|
||||
|
||||
spin_lock(&fl->hlock);
|
||||
if (fl->file_close == FASTRPC_PROCESS_EXIT_START) {
|
||||
if (fl->file_close >= FASTRPC_PROCESS_EXIT_START) {
|
||||
err = -ESHUTDOWN;
|
||||
pr_warn("adsprpc: fastrpc_device_release is happening, So not sending any new requests to DSP\n");
|
||||
spin_unlock(&fl->hlock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue