[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c103da1f-b4ef-4f2f-8648-dda636094bde@linaro.org>
Date: Fri, 29 Aug 2025 08:45:30 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Srinivas Kandagatla <srinivas.kandagatla@....qualcomm.com>,
Srinivas Kandagatla <srini@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, linux-sound@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ASoC: qcom: audioreach: Add support for VI Sense
module
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
Powered by blists - more mailing lists