mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
Merge "msm: adsprpc: Add support for recover session on DSP"
This commit is contained in:
commit
7b657e9bf7
2 changed files with 5 additions and 0 deletions
|
|
@ -5250,6 +5250,9 @@ static int fastrpc_internal_control(struct fastrpc_file *fl,
|
|||
fl->ws_timeout = cp->pm.timeout;
|
||||
fastrpc_pm_awake(fl, gcinfo[fl->cid].secure);
|
||||
break;
|
||||
case FASTRPC_CONTROL_DSPPROCESS_CLEAN:
|
||||
(void)fastrpc_release_current_dsp_process(fl);
|
||||
break;
|
||||
default:
|
||||
err = -EBADRQC;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -394,6 +394,8 @@ enum fastrpc_control_type {
|
|||
FASTRPC_CONTROL_KALLOC = 3,
|
||||
FASTRPC_CONTROL_WAKELOCK = 4,
|
||||
FASTRPC_CONTROL_PM = 5,
|
||||
/* Clean process on DSP */
|
||||
FASTRPC_CONTROL_DSPPROCESS_CLEAN = 6,
|
||||
};
|
||||
|
||||
struct fastrpc_ctrl_latency {
|
||||
|
|
|
|||
Loading…
Reference in a new issue