Message ID | 20240208231406.27397-24-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58814-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp513967dyd; Thu, 8 Feb 2024 15:24:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzEVRCZcZZYXPKvba/uT6KyDtBIl38y8r4iOyuvjAZif22mz9MUYdz87XF7yJiuOPqx3xV X-Received: by 2002:ac8:7151:0:b0:42c:4260:13b8 with SMTP id h17-20020ac87151000000b0042c426013b8mr1883450qtp.21.1707434694900; Thu, 08 Feb 2024 15:24:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707434694; cv=pass; d=google.com; s=arc-20160816; b=Sv3GcTCaTbzEvPW91yXOHaC4t1fRqNwI9pnhODRF/CvOhq7SZx3s+N0uRNuBAgXnVy yXJGkF10kxQKpAiPxuKDhcvgbG7AsQHYwKugJXCn5OjUTFWoSGoBCuKpmNz7m2po3P2a F5ZaVxP+Svx9CJlap2EubiukmMEaKtbPM59FxaEqwN/KVCHC2YIOJc0iWBHtzHZvdzKs zL+EhYMeBRebJ49Sx7iBU5pJTE+6qr7WixJt/hWTCdoBw3ST3Ffb8En2CIwPkiEeSiQV GxyIVYDtsVqJzSjpVGwmDQWCtuSm+mEe+5gw6lDomLwmQiJCviIo0LBjkBy2M6uSktay A5Pw== 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=OxJ3x6Dn/VRQWCEl+s+vAMKmt7TQ8UQeymj4GS9E+TY=; b=Il31i8nVpGPC63Janb18DTUdo0381BAJoWSroDwtC5Q2HLoLsQX0XDZEkfpWSn+XX/ J8iyJL1FDj8AlqZyMcItdSWM1HqvawBGgo/1PJpVAJ9S+yV/0g0n/uKfE4AIw5wy+GZ+ i/ZaXDc2Bv5AXcHXBU1i65hLsihe4OY+7XAiZtd5BgtI7HA+ApdZfaqHzLIMRWNQsq50 FYfY7idyCoADKkzlyOgnMDaTO6cpaLVKzzUL4hbKj8N+ksPQMXIgxWRlLFZVoLOdM9hA qf9Gj1JHc90P2C0T1zXMLcl2z5WVPj3X55BqXxNJBO9JC3wmd6Vo8GczuYXgRsytQfuq HaVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A9FL+apI; 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-58814-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58814-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=2; AJvYcCXJ1USM06N3exvh/s7nQo5k75XGYRiO8HIfW5cwrWeUJF2JH8Tin1BNO2qyvHosOWiYnY/KRa/IqVK49u4p3qy2kY8QIg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q6-20020a05622a030600b0042aa55b47d4si627148qtw.109.2024.02.08.15.24.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 15:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58814-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A9FL+apI; 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-58814-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58814-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AA91C1C235C2 for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 23:24:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BB2D5EE83; Thu, 8 Feb 2024 23:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="A9FL+apI" 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 B0A6450A81; Thu, 8 Feb 2024 23:14:37 +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=1707434080; cv=none; b=MWGU3Ln+3TzMsB7WarghQlsDwskHsV+28C68XB+r9lxNXfuvCuM8d51gbiat+YU68+fyrTvCjoQ8vqKmLNTXyYAFKoVjGg9qNvJfBJfuGrE6ZE7c7t6l56cU2vR8eiqEioO0zs03NjF8PPDRei0gmelEIaTmOHbVUW6naLeiLnA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707434080; c=relaxed/simple; bh=5l1ZDxiiOCJBz70DKB8YoEv4oAwewH8W9SdYrKkgC5E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GkUfio2I40SePm1ajgR4M/l2eAM/FB+uCbo+lXar814mr+H4OwL7PuqLlmlJ80eVjL4xtRt+qyoMXl+CJ6WRvDgHzFkgeeczvk7pakcawPyG2Kl1Rh/ZZkFBDzdebazqLoocJMfOsz/yNpfSghJ4rsv2+GrixKS7gU8swMa3QMk= 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=A9FL+apI; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 418Mj1xw027084; Thu, 8 Feb 2024 23:14:23 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=A9FL+apIJXIwKN1eiBw/0Rjyc2CUT/GwqFuu vssozkQ1ZXBnn7zGlwod8q6D9tMjmSAvwkSd8cwKBH++T8GneoRXFwBFS4f2vNtg FfkzilTurCCxgc5+VJcrnejINVhDImQM+2FqcrhxWzXCwkkDPyvpwEYH4kXCcpyx PCZKISa3fGHxR30T41fQaOHoILmVMWrDoMdgNdmvxHSGKg3HfcOg4nwxAUdAkoac xU7GTNh3XPILjT3ylZOdWkbF8kT9z1xxEfefxD2NvP8dgRSbRF+9yUjnTpn08bfL M22n/tgwmATdYQ2TJjLDMrJZr250lIvKA/WmqJVIX2Z/RAz2ag== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w4sns2aav-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 23:14:23 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 418NEMLq022066 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Feb 2024 23:14:22 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; Thu, 8 Feb 2024 15:14:22 -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 v14 23/53] ASoC: qdsp6: q6afe: Increase APR timeout Date: Thu, 8 Feb 2024 15:13:36 -0800 Message-ID: <20240208231406.27397-24-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240208231406.27397-1-quic_wcheng@quicinc.com> References: <20240208231406.27397-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: nalasex01c.na.qualcomm.com (10.47.97.35) 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: Kx9sPqqVXk-WvcgyewwCVYxkRnVIUCAG X-Proofpoint-GUID: Kx9sPqqVXk-WvcgyewwCVYxkRnVIUCAG 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-08_11,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 clxscore=1015 suspectscore=0 impostorscore=0 mlxlogscore=832 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402080131 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790375042742210219 X-GMAIL-MSGID: 1790375042742210219 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Feb. 8, 2024, 11:13 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 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