Loading drivers/char/adsprpc.c +3 −0 Original line number Diff line number Diff line Loading @@ -4118,6 +4118,9 @@ static int fastrpc_internal_control(struct fastrpc_file *fl, fl->ws_timeout = cp->pm.timeout; fastrpc_pm_awake(fl); break; case FASTRPC_CONTROL_DSPPROCESS_CLEAN: (void)fastrpc_release_current_dsp_process(fl); break; default: err = -EBADRQC; break; Loading drivers/char/adsprpc_shared.h +3 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. */ #ifndef ADSPRPC_SHARED_H #define ADSPRPC_SHARED_H Loading Loading @@ -250,6 +250,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 Loading
drivers/char/adsprpc.c +3 −0 Original line number Diff line number Diff line Loading @@ -4118,6 +4118,9 @@ static int fastrpc_internal_control(struct fastrpc_file *fl, fl->ws_timeout = cp->pm.timeout; fastrpc_pm_awake(fl); break; case FASTRPC_CONTROL_DSPPROCESS_CLEAN: (void)fastrpc_release_current_dsp_process(fl); break; default: err = -EBADRQC; break; Loading
drivers/char/adsprpc_shared.h +3 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. */ #ifndef ADSPRPC_SHARED_H #define ADSPRPC_SHARED_H Loading Loading @@ -250,6 +250,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