From bb77ffe0fe0d618a92e46c5f14ea53ba849e71f5 Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Tue, 7 Apr 2020 11:42:19 +0530 Subject: [PATCH] dsp: lsm: Change wake up latency for LAB module In order to reduce the LPI memory consumption, reduce the apps wake up latency from 250msec to 40msec in LAB module config. Change-Id: I5451e2b43b81ce7c6f8840f774b74e3cffc0a032 Signed-off-by: Aditya Bavanari --- dsp/q6lsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsp/q6lsm.c b/dsp/q6lsm.c index 8df449e499e7..a7485f5eb3a7 100644 --- a/dsp/q6lsm.c +++ b/dsp/q6lsm.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2013-2019, Linux Foundation. All rights reserved. + * Copyright (c) 2013-2020, Linux Foundation. All rights reserved. */ #include #include @@ -2393,7 +2393,7 @@ int q6lsm_lab_control(struct lsm_client *client, u32 enable, lab_config_hdr.param_id = LSM_PARAM_ID_LAB_CONFIG; lab_config_hdr.param_size = sizeof(lab_config); lab_config.minor_version = 1; - lab_config.wake_up_latency_ms = 250; + lab_config.wake_up_latency_ms = 40; rc = q6lsm_pack_and_set_params(client, &lab_config_hdr, (uint8_t *) &lab_config, LSM_SESSION_CMD_SET_PARAMS);