Merge "dsp: Add proper param size for data logging disable"

This commit is contained in:
qctecmdr 2021-06-02 10:29:38 -07:00 • committed by Gerrit - the friendly Code Review server
commit 3149e77920

View file

@ -4833,7 +4833,7 @@ int afe_port_send_logging_cfg(u16 port_id,
param_hdr.module_id = AFE_MODULE_AUDIO_DEV_INTERFACE;
param_hdr.instance_id = INSTANCE_ID_0;
param_hdr.param_id = AFE_PARAM_ID_PORT_DATA_LOGGING_DISABLE;
param_hdr.param_size = sizeof(&log_disable);
param_hdr.param_size = sizeof(struct afe_param_id_port_data_log_disable_t);
ret = q6afe_pack_and_set_param_in_band(port_id,
q6audio_get_port_index(port_id), param_hdr, (u8*)log_disable);