Message ID | 20231220224544.18031-10-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp58018dyi; Wed, 20 Dec 2023 14:58:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHo768vyrHULVwAhnNkNn+Jh/LWctLIN2b/M2q0kF+sXqSUnpZdZ8WmUx9tUdkCPvX76w1s X-Received: by 2002:a05:600c:2205:b0:40d:2021:9c29 with SMTP id z5-20020a05600c220500b0040d20219c29mr230791wml.117.1703113113744; Wed, 20 Dec 2023 14:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703113113; cv=none; d=google.com; s=arc-20160816; b=qte3LtMIIFOPA/kr+hk3PPYaF8dq0/x4s8lsjA9q2jKr+6iSbPwVr1N4XvxtQwk+JO aMtrY95aP/5QI9/Ed/I/YSYK1+2GRp4RhkrKWAih43pFZQHI5DGlUSFD5TSD+fwWNS9K tjVHpbwJR0vErE725s8Zvr72nCjMJhKnKKrA51P2qxHpjq25Nn5caOvAkVnANKf0A5ME nhgkyheScJ0GdIRiEI+Z7dBVYLstWO1jaLNztpgVit/WZ4EkOPXluUsNPAuiaJe/r3gB aT2cgVMAniVxPUXKa6uQnOY6TSr8IRWF7XZE5bP09cOz+qyC9sqYQaCXCcCBAq7FonWh uWJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WMU2HIKS908Imaw26ML/jCV96oNOcXMr4ajnHFwqVmY=; fh=0KzismZj+xI0Z//ZGdqKIH/FO9LtSZM7Yj4P0VtrCz0=; b=Hz3xh+lIhtO+MKbCl5Cbh01err1PXbAaBd/Pyrh41sNVdjsqjeWh7rqJNJtfkUAnTs D8IPC7igE3/qPp8Z1DK9T8Wk8OvAUJ5LRS5OLmNl9l3kDmSZnF7uwzmRp3Pdj5EQYB7r sNK0J96jIBknsSQ3Q9vdVvMpqzJs6cFhu5TWBFyVCbvNFMH2Rc1Rb8c+D3BHCasl/chh 4IAFTLpCpTI3eQNE4cU1s7w3r2k4j8GI0YTrVcZDM1iC0wFYds6WzsHUOXcXzVC2AYoC J+fqyHWUY/PXV0U+4KfwY5bvs4E7PvBcZFrwOVYDyRnhmhi1uzcQEs8yLxCD2x4wCKZO bYsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=S5NQL3r+; spf=pass (google.com: domain of linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s3-20020a170906060300b00a22efef2acfsi242368ejb.574.2023.12.20.14.58.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:58:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=S5NQL3r+; spf=pass (google.com: domain of linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7557-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5A6E11F210D0 for <ouuuleilei@gmail.com>; Wed, 20 Dec 2023 22:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D720E5F851; Wed, 20 Dec 2023 22:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="S5NQL3r+" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5862F4BA8E; Wed, 20 Dec 2023 22:46:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BKMdgpc021036; Wed, 20 Dec 2023 22:45:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=WMU2HIKS908Imaw26ML/ jCV96oNOcXMr4ajnHFwqVmY=; b=S5NQL3r+QAz2DhXDjoPzw7Pnvdt1y7tA4wmg J+yiWjeyrf/9XHEfiCEMqxLKfynn7UT8b8M/KehFO/yz7ENVHbK6Zb8oZVnvaOIB eZGmE3AU6JsCvjt/IvTtRtggbcG5a1r2xCMutuP9GsuBb8qBd+48cXTGnwyZ5qF6 IsoxveMenbgo2Zk0rkKtF6kRsa39SLOkV2R8MuQCm59qUnG3JDdSqdC4tAeZg/z6 Gj0Q/zl0yrX3e/Kj+uB30TSeMYAkwokgHq3+6yCv3Ga+6QgZeAwneCvtfC2B0iFy vbuZbP0NXmCaQM7fuwH6lU10Lfs1Hqedb5xgaK5igtlBZk5eOQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v37vxw2sd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 22:45:57 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BKMjuOD008278 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 22:45:56 GMT Received: from hu-wcheng-lv.qualcomm.com (10.49.16.6) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 14:45:56 -0800 From: Wesley Cheng <quic_wcheng@quicinc.com> To: <srinivas.kandagatla@linaro.org>, <mathias.nyman@intel.com>, <perex@perex.cz>, <conor+dt@kernel.org>, <corbet@lwn.net>, <gregkh@linuxfoundation.org>, <lgirdwood@gmail.com>, <andersson@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <konrad.dybcio@linaro.org>, <Thinh.Nguyen@synopsys.com>, <broonie@kernel.org>, <bgoswami@quicinc.com>, <tiwai@suse.com>, <robh+dt@kernel.org>, <agross@kernel.org> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-sound@vger.kernel.org>, <linux-usb@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <linux-doc@vger.kernel.org>, <alsa-devel@alsa-project.org>, Wesley Cheng <quic_wcheng@quicinc.com> Subject: [PATCH v11 09/41] ASoC: qdsp6: q6afe: Increase APR timeout Date: Wed, 20 Dec 2023 14:45:12 -0800 Message-ID: <20231220224544.18031-10-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231220224544.18031-1-quic_wcheng@quicinc.com> References: <20231220224544.18031-1-quic_wcheng@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: rY1dRZgqAb5VEbzO58AyW9vTx5pTi2EK X-Proofpoint-GUID: rY1dRZgqAb5VEbzO58AyW9vTx5pTi2EK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=812 suspectscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312200163 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785843536544190994 X-GMAIL-MSGID: 1785843536544190994 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Dec. 20, 2023, 10:45 p.m. UTC
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. Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> --- 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 8e0d2d583c9c..f8b6d9e552f0 100644 --- a/sound/soc/qcom/qdsp6/q6afe.c +++ b/sound/soc/qcom/qdsp6/q6afe.c @@ -366,7 +366,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