Loading drivers/char/adsprpc.c +5 −5 Original line number Diff line number Diff line Loading @@ -2228,6 +2228,9 @@ static int fastrpc_release_current_dsp_process(struct fastrpc_file *fl) ioctl.crc = NULL; VERIFY(err, 0 == (err = fastrpc_internal_invoke(fl, FASTRPC_MODE_PARALLEL, 1, &ioctl))); if (err) pr_err("adsprpc: %s: releasing DSP process failed for %s, returned 0x%x", __func__, current->comm, err); bail: return err; } Loading Loading @@ -2789,16 +2792,13 @@ static int fastrpc_file_free(struct fastrpc_file *fl) struct hlist_node *n = NULL; struct fastrpc_mmap *map = NULL, *lmap = NULL; struct fastrpc_perf *perf = NULL, *fperf = NULL; int cid, err = 0; int cid; if (!fl) return 0; cid = fl->cid; err = fastrpc_release_current_dsp_process(fl); if (err) pr_err("adsprpc: %s: releasing DSP process failed for %s, returned 0x%x", __func__, current->comm, err); (void)fastrpc_release_current_dsp_process(fl); spin_lock(&fl->apps->hlock); hlist_del_init(&fl->hn); Loading Loading
drivers/char/adsprpc.c +5 −5 Original line number Diff line number Diff line Loading @@ -2228,6 +2228,9 @@ static int fastrpc_release_current_dsp_process(struct fastrpc_file *fl) ioctl.crc = NULL; VERIFY(err, 0 == (err = fastrpc_internal_invoke(fl, FASTRPC_MODE_PARALLEL, 1, &ioctl))); if (err) pr_err("adsprpc: %s: releasing DSP process failed for %s, returned 0x%x", __func__, current->comm, err); bail: return err; } Loading Loading @@ -2789,16 +2792,13 @@ static int fastrpc_file_free(struct fastrpc_file *fl) struct hlist_node *n = NULL; struct fastrpc_mmap *map = NULL, *lmap = NULL; struct fastrpc_perf *perf = NULL, *fperf = NULL; int cid, err = 0; int cid; if (!fl) return 0; cid = fl->cid; err = fastrpc_release_current_dsp_process(fl); if (err) pr_err("adsprpc: %s: releasing DSP process failed for %s, returned 0x%x", __func__, current->comm, err); (void)fastrpc_release_current_dsp_process(fl); spin_lock(&fl->apps->hlock); hlist_del_init(&fl->hn); Loading