From 38ebaf2f958dc0ff29a57c71440548c7b62ef422 Mon Sep 17 00:00:00 2001 From: Ben Romberger Date: Thu, 14 Jan 2016 17:54:56 -0800 Subject: [PATCH] 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 --- sound/soc/msm/qdsp6v2/q6afe.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sound/soc/msm/qdsp6v2/q6afe.c b/sound/soc/msm/qdsp6v2/q6afe.c index 80ceecdee494..b3a90b8284f8 100644 --- a/sound/soc/msm/qdsp6v2/q6afe.c +++ b/sound/soc/msm/qdsp6v2/q6afe.c @@ -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) 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) { - 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; }