asoc: Enable VAD in QCS405

Add AFE HW CAL dep node in config and fix the set sampling rate
for codec dma interface

Change-Id: I9165a80da00bfb5b61bbf4f0391ff794d8fba352
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
此提交包含在:
Mangesh Kunchamwar
2018-07-10 17:50:35 +05:30
父節點 ab8586d542
當前提交 2d84e4aedc
共有 5 個檔案被更改,包括 37 行新增5 行删除

查看文件

@@ -3513,10 +3513,11 @@ static int __afe_port_start(u16 port_id, union afe_port_config *afe_config,
/* send VAD configuration if is enabled */
if (this_afe.vad_cfg[port_index].is_enable) {
ret = afe_send_port_vad_cfg_params(port_id);
if (ret)
if (ret) {
pr_err("%s: afe send VAD config failed %d\n",
__func__, ret);
goto fail_cmd;
}
}
}