lkml.org 
[lkml]   [2025]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] ASoC: qcom: audioreach: Add support for VI Sense module
From
On 22/08/2025 12:55, Srinivas Kandagatla wrote:
>> +
>> + pkt = audioreach_alloc_apm_cmd_pkt(payload_size, APM_CMD_SET_CFG, 0);
>> + if (IS_ERR(pkt))
>> + return PTR_ERR(pkt);
>> +
>> + p = (void *)pkt + GPR_HDR_SIZE + APM_CMD_HDR_SIZE;
>> +
>> + op_cfg = p;
>> + param_data = &op_cfg->param_data;
>> + param_data->module_instance_id = module->instance_id;
>> + param_data->error_code = 0;
>> + param_data->param_id = PARAM_ID_SP_VI_OP_MODE_CFG;
>> + param_data->param_size = op_sz - APM_MODULE_PARAM_DATA_SIZE;
>> +
>> + op_cfg->cfg.num_channels = num_channels;
>> + op_cfg->cfg.operation_mode = PARAM_ID_SP_VI_OP_MODE_CALIBRATION;
>> + op_cfg->cfg.quick_calibration = 1;
>> + /*
>> + * op_cfg->cfg.r0_t0_selection should be set only for normal mode, keep
>> + * as 0 for calibration
>
> How do we move from calibration to a normal mode?

The same as in previous patch - this should be normal mode.

Best regards,
Krzysztof

\
 
 \ /
  Last update: 2025-08-29 08:46    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog