Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38ebaf2f authored by Ben Romberger's avatar Ben Romberger Committed by David Keitel
Browse files

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: default avatarBen Romberger <bromberg@codeaurora.org>
parent 56f86443
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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;
	}