瀏覽代碼

Merge "asoc: use the correct APR header structure for PSPD set params"

qctecmdr 4 年之前
父節點
當前提交
cc39746bbd
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      asoc/msm-qti-pp-config.c

+ 2 - 3
asoc/msm-qti-pp-config.c

@@ -443,7 +443,7 @@ int msm_qti_pp_send_chmix_cfg_cmd(int port_id, int copp_idx,
 	int16_t *update_params_value16 = 0;
 	uint32_t param_size = msm_qti_pp_get_chmix_param_size(ip_channel_cnt,
 				op_channel_cnt);
-	struct param_hdr_v3 *param_hdr;
+	struct param_hdr_v1 *param_hdr;
 
 	/* constant payload data size represents module_id, param_id,
 	 * param size, reserved field.
@@ -459,9 +459,8 @@ int msm_qti_pp_send_chmix_cfg_cmd(int port_id, int copp_idx,
 
 	param_ptr = params_value;
 
-	param_hdr = (struct param_hdr_v3 *) param_ptr;
+	param_hdr = (struct param_hdr_v1 *) param_ptr;
 	param_hdr->module_id = MTMX_MODULE_ID_DEFAULT_CHMIXER;
-	param_hdr->instance_id = INSTANCE_ID_0;
 	param_hdr->param_id = DEFAULT_CHMIXER_PARAM_ID_COEFF;
 	param_hdr->param_size = param_size;