Message ID | 20240203023645.31105-24-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-50828-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp816916dyc; Fri, 2 Feb 2024 18:40:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHy4bVS6dp2JFHbQRROiWXqTb4fuHM3lvXNICUo5XgaY2FSUtGqR3e8TCumCFoBmxcEpGPd X-Received: by 2002:a05:6512:3c8c:b0:511:3725:ba55 with SMTP id h12-20020a0565123c8c00b005113725ba55mr3248170lfv.57.1706928034160; Fri, 02 Feb 2024 18:40:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706928034; cv=pass; d=google.com; s=arc-20160816; b=Iyk7rJDLvgltxOrrd7qquhGwJ2JjcEqgArDzRg4PFvtf/pU5djtSGlyznGp7CmfzOt AC79vzsMjbpi4TsFRutTyQ6F/YKtmaUwUE8Gb+rXYx6GBpvLvjt6tRWDuZ+JfEjXTvIW HsEyz6U0kEx6QpvuHjnlro0e2y/TWrmg4+eHp78HwR1KNSDAVosCA2RaL0meFOMzA1kv m4nlCfBVGWapQekVrvV22Jt9/M0H6ytqN6JF3/kEj+ugTaqjJ0EH3bCMbK5LQxLcYH2f Um1R5mPNn3pWL+mTPG2fHhBzKjz691EfzPyRGgQeOhqMuD1rCH77zQQ+NlcVvIEwQ40r ffrQ== ARC-Message-Signature: i=2; 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=Okp2NIuxOum+UIJx68gt8HGPT3ztWG2atEl9RFxfZvI=; fh=k1bjOHinYiJ7idTmfDgcJ1dMwEdMZsVh20GQVCBRh8g=; b=bxNVfTbulg/wDXeEk6lHgZIdIcBUyq5zIKwllCst/grupv5auvFZMFvmS1/gW8g7qG F4bSU1Pyc/7vbgdQaOnYOWHBcEp6u86czm//90ZNEiKXWwIT0cVinDN0+IiJCKvnJOkt oTU+BmHc0N+E6x7aDwWJMD3eMdSU1x+FRCrKdmjV2nL/H7HKF+JUbjhFoNt2zVFQRqHT 4F+ZriqTXEfQrvTBsbqm87WLIpqObVWWPHCgnAEnEmob6r2PnDRppOZkPH62lKEBaMWA E4Y/seU74waf1Y2ewANop614u116y/su7q7QSMf+Zky0SXLPdY/yf7xySeEZ5wqbNw5e dRoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="anQIJ/qY"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-50828-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50828-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCWi2L0n/C6bY/mNOX9pfHzyIpUkS8lohiU/NGLcMl/noPNdmMIS2zPLjJq2P0GD6eXgTUFv9crAfbXuBtxvOA5ObIMZRw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fx6-20020a170906b74600b00a35d255f3c6si1382706ejb.217.2024.02.02.18.40.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 18:40:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50828-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="anQIJ/qY"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-50828-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50828-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 BE3CD1F26989 for <ouuuleilei@gmail.com>; Sat, 3 Feb 2024 02:40:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B8C2168BA; Sat, 3 Feb 2024 02:37:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="anQIJ/qY" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 F233363DD; Sat, 3 Feb 2024 02:37:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706927867; cv=none; b=Wiv/jcCp7zsoQ0oWIAX6uOrcZaGxH7cj5SKhJXsW7PYi9BKIYy0pxfbDtTEe2CDJpOzzN+MAh4Wr3ZLs01X4G1yEqWrnYhaKM3d1ITsifNLnsNaerm1giYpDAkbJ4C3ZdvK3pj8af+sn864jrH/+bPrI7MV3+kATMyHdZwe8KvI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706927867; c=relaxed/simple; bh=5l1ZDxiiOCJBz70DKB8YoEv4oAwewH8W9SdYrKkgC5E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NUOrejQ8E4UHc2t7ne+UkVvQXR6jl17trmbdZEzZFnX9+7mB9xpgLq5E0vckab8XibRkp+S+R47kPVXzQs1lfimTj0INhuXN/o6RgUYTDb3K0+cNxeFLwFHQo8nK1vZuWJbEkHY04FAymi9qIkRWCIKf0tn3CJdgWABKnDED10o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=anQIJ/qY; arc=none smtp.client-ip=205.220.180.131 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4132RRb2029633; Sat, 3 Feb 2024 02:37:25 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=Okp2NIuxOum+UIJx68gt 8HGPT3ztWG2atEl9RFxfZvI=; b=anQIJ/qY5FkulZ7aQxVV2SbHwbgE+4WcIAgY ul2Bt0kDjWLrBeiTghNEQF0pED1AxogpJDxGvOslxckQceZOste+lYSYGbjVC3GJ fEHeuR45xWiKXnplmBI1zMDiEwwyr/gToCMyMd+FWJWAOQjVRv7K8wlJ9bUidVil gQhxT0aideBWslycquWCiB1bGaD9SZc35x+tVaG+wB5AhY20qJx9u76Mfkxz0P2v w86QheGolJ1hE8696iyD8YwoF1ZjgMO7+rnEkHxb9GCusht+1cMLAuOjkqqFN0R6 EZXvdjNi8xTsWCaMHDS8xqiXwxQT52Rlyg/+Ct//XD1XuA+A9g== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w1ax4849e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 03 Feb 2024 02:37:25 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4132bOwV012251 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 3 Feb 2024 02:37:24 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; Fri, 2 Feb 2024 18:37:24 -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>, <lgirdwood@gmail.com>, <andersson@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <gregkh@linuxfoundation.org>, <Thinh.Nguyen@synopsys.com>, <broonie@kernel.org>, <bgoswami@quicinc.com>, <tiwai@suse.com>, <robh+dt@kernel.org>, <konrad.dybcio@linaro.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 v13 23/53] ASoC: qdsp6: q6afe: Increase APR timeout Date: Fri, 2 Feb 2024 18:36:15 -0800 Message-ID: <20240203023645.31105-24-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240203023645.31105-1-quic_wcheng@quicinc.com> References: <20240203023645.31105-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: nalasex01b.na.qualcomm.com (10.47.209.197) 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: AbWG9Rkaxqj2QNjiybVD7XFVvrJd5F8C X-Proofpoint-GUID: AbWG9Rkaxqj2QNjiybVD7XFVvrJd5F8C X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_16,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 phishscore=0 mlxlogscore=828 priorityscore=1501 impostorscore=0 malwarescore=0 spamscore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402030015 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789843770052407700 X-GMAIL-MSGID: 1789843770052407700 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Feb. 3, 2024, 2:36 a.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 948007955934..452d7e8b9b30 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