[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c27b5fc4-9153-0682-38d1-65b4adf14082@linaro.org>
Date: Thu, 26 Jan 2023 15:09:05 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Wesley Cheng <quic_wcheng@...cinc.com>, mathias.nyman@...el.com,
perex@...ex.cz, lgirdwood@...il.com, andersson@...nel.org,
krzysztof.kozlowski+dt@...aro.org, gregkh@...uxfoundation.org,
Thinh.Nguyen@...opsys.com, broonie@...nel.org,
bgoswami@...cinc.com, tiwai@...e.com, robh+dt@...nel.org,
agross@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-usb@...r.kernel.org, quic_jackp@...cinc.com,
quic_plai@...cinc.com
Subject: Re: [RFC PATCH v2 10/22] ASoC: qdsp6: q6afe: Increase APR timeout
On 26/01/2023 03:14, Wesley Cheng wrote:
> For USB offloading situations, the AFE port start command will result in a
> QMI handshake between the Q6DSP and the main processor. Depending on if
> the USB bus is suspended, this routine would require more time to complete,
> as resuming the USB bus has some overhead associated with it. Increase the
> timeout to 3s to allow for sufficient time for the USB QMI stream enable
> handshake to complete.
>
> Signed-off-by: Wesley Cheng <quic_wcheng@...cinc.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
--srini
> ---
> sound/soc/qcom/qdsp6/q6afe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/qcom/qdsp6/q6afe.c b/sound/soc/qcom/qdsp6/q6afe.c
> index ca799fc3820e..41b4871e2ca1 100644
> --- a/sound/soc/qcom/qdsp6/q6afe.c
> +++ b/sound/soc/qcom/qdsp6/q6afe.c
> @@ -365,7 +365,7 @@
> #define AFE_API_VERSION_SLOT_MAPPING_CONFIG 1
> #define AFE_API_VERSION_CODEC_DMA_CONFIG 1
>
> -#define TIMEOUT_MS 1000
> +#define TIMEOUT_MS 3000
> #define AFE_CMD_RESP_AVAIL 0
> #define AFE_CMD_RESP_NONE 1
> #define AFE_CLK_TOKEN 1024
Powered by blists - more mailing lists