ASoC: msm: qdsp6v2: Modify HW delay debug print

Change the HW delay debug print so it does not
seem like an error. Adds comments in the code
describing the HW delay feature.

Change-Id: I0955623a7bdb0f4180c908ba079cf6f900e496a5
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
This commit is contained in:
Ben Romberger 2016-01-14 17:54:56 -08:00 committed by David Keitel
parent 56f8644352
commit 38ebaf2f95

View file

@ -995,8 +995,14 @@ static int afe_send_hw_delay(u16 port_id, u32 rate)
else if (afe_get_port_type(port_id) == MSM_AFE_PORT_TYPE_RX) else if (afe_get_port_type(port_id) == MSM_AFE_PORT_TYPE_RX)
ret = afe_get_cal_hw_delay(RX_DEVICE, &delay_entry); ret = afe_get_cal_hw_delay(RX_DEVICE, &delay_entry);
/*
* HW delay is only used for IMS calls to sync audio with video
* It is only needed for devices & sample rates used for IMS video
* calls. Values are received from ACDB calbration files
*/
if (ret != 0) { if (ret != 0) {
pr_debug("%s: Failed to get hw delay info %d\n", __func__, ret); pr_debug("%s: debug: HW delay info not available %d\n",
__func__, ret);
goto fail_cmd; goto fail_cmd;
} }