From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796073797; b=lvOxzieIhIgT3t/24mjfCZGjn50izuAKARbxXKDTf4SqyIGr6FjH8i1iaORM2ADAxdSe nX5fvh4RiR2IgR4NPnXFcCJryRhGZvh9DPpXUqd9+tVed9yDwxIQVv+wszxLrOylIhKvQ bEY1C40BWjt8/AiNHZw/XBaW1GGip8xdeoKGfzwr+JupvE0itYhr3XLVNJonpiZotcUXd PPJX2t9fCHm7r7s+PzVl0nSDCUwyhdURwlMjs865X7I2iBhXu9PCDvF2urpf/xv8gReOT sFELsRIxQS1/3sxf2ns7HyAtmsxxdAOEQ7YHsqdGiUMpcEzO37uHMkQ2EAxXwQzWJYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796073797; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=HIb9xlJIhjI9YDLc2oWI7XAJanJkt4/BYklOAqG9eKU=; b=x/8mR13Hf02D7j2yWyKBj3y2mMnbp8W4k1zW6RANmSKHx3P+eIqAJFlwaMdfTh+rwmAQ dww4zkNjl9inayqBfvloMEG/2mqKJBWQh0VXAFqjR9Cr5wkYjTenf4EsFmXyZD8uVWVG+ MHpc9CKOWC52XFluzZtS0PngQc4UiGAtgS3rOP4h0GqFObNuCNDMNPwjezIqC6cwfCYF4 4IRtu7/NgCqZ2R6DF7jVmus6O4NTS+0cvb3//EZCH/tMSIMnuvIun7E82QyafZObvYrvm HkdtKJvZTZuGLF+kPJCbrI91LCGxwIr5Q+0aKQk5DxuRVcCH6x31RxoKIDihxuDP+/Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b="eGTWGaU/"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Oiux41BT; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A127606A695 for ; Mon, 30 Nov 2026 21:23:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9A127606A695 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=eGTWGaU/; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Oiux41BT Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUKQEVd486611 for ; Mon, 30 Nov 2026 21:23:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=HIb9xlJIhjI 9YDLc2oWI7XAJanJkt4/BYklOAqG9eKU=; b=eGTWGaU/d3Jn2uVUXu71YxLwI5E WuoAa5w9eLnK0YcCVJVyu4kamJKBb5MOGO0cq2cVgOeGLlDRptPU34HPVCPXD5KK JoluqFFsxWrVG71qCVCp7VJRvKApgrqz8Jmql0KMl8CVzQTkCFh/EBoQk6Htw834 0YhVKxx8gjQvWhgWM0NvyDI02tBQ++Hx1omqUNmjQ7saGaXI64NfG+0LETZioeIF C8G6TwgNmuvMx3hqAeE75sMR2/XtPshL5hxrd71REUU7vcx9KhMSQa96gHM97tqV YPa7nuZXaWXcWwa2GLEiNp2r7M+WcihYzjXTqICffqqZN/kq2nZz1KASTLA== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j97xyjf29-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 21:23:15 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-94a37bdbae0so271614485a.0 for ; Mon, 30 Nov 2026 13:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796073795; x=1796678595; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HIb9xlJIhjI9YDLc2oWI7XAJanJkt4/BYklOAqG9eKU=; b=Oiux41BTNGIfB6Bxmb0//VNS8xr5Uw5u2nXIrlOg/rkueGRwCkooEfkigG2JU8invi +HOXSmee6k5LgAaykpf9T+rx7uQUg8vNPQ+zWFa46D00zB8mm/E4wVpnrTyGb0lo/ZZr yCIzXf28r5Wb/jiHMulacnk2gxnzOXZHBvTweXmO0AWa1PdECIIX5QwzsapwUFKWM6Ec /vYscKh4q3T3Q/B6OGEjBPL8AI89RDmL3xg/O0wMHFV6xopJ+QS6Aqhy6hnr5Vu/Rdwg adg2DwiT28uNujD7IL1+IwRXuHaN3srLcVPTIvMzz/sfvE9AOTGgyGwtvL70JIDsN6T7 iQXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796073795; x=1796678595; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HIb9xlJIhjI9YDLc2oWI7XAJanJkt4/BYklOAqG9eKU=; b=zXmO+IdpI7PqaJiDOdZYjXudtfHjf44/pJ4aUkoSL72ARJO9/AJ/vkFbkoPbhGy1iZ XDPv1sj1cbEBb5Su1QpZZJ2HLe7Av+VOxfFIBZwPeWcLFhQUq6mt+vfN+WCwQSVFNsQD GdlAGi1Ckg+N+/Rlh85LOpEkCuqygDkIDxoUp4h36ztePaHOFLYdEc0PIDYMVn4NIQ0Z hEk7oQ6GSdsH2FK5B99qzyN1O39Zf5Dq0H4tGLgOvP+TJbhRbc+g2qXzw+PsBcDqjKzp Pm4wnc9AX/NL/4UaRo+5deunSRNb5e723as1JxeMicusljqP0Y6b118o3vlvxpDAZTsA 63zg== X-Forwarded-Encrypted: i=1; AL+hErFNEHcrAvWvfL2hoDT9oJr2BvH2N1SibDj/dIGhFuiNvaWLLXAUhKGBUf/0VT716h7hO21SQo7BA9goVxM=@vger.kernel.org X-Gm-Message-State: APuU4Z+yCy0koli0YOp1SvjldOBVrFChzEcY7Kg9ApPq6YzTS626fxfV TUTi/v7k1h+RLlkritGw1ZzTOzlEPL1opf6gJ3qhKF/QDKy8B9CN8Gf36h3QWZLCl5eDiyyoT4z nxb91DfL8NG1+oGLbcvVNQz60zdKe7lrwUPWp0tS77lNXOlxGdNSt8AV7gIdVj80cNlU= X-Gm-Gg: AZFdTZc0x0DPY6gduy4XyQ3cwEfk2BTSnlszXzd4UXDBgK9q2Gx2OlOf8CuDaYb3rEE lZ73Yg2ShsJMvl41lezQeHXu6GRURhl9g2S3651TVqc2yJf9mG9QsQhrLLm4Xn8WKhIzsuF2CEf SsS/ODvN2cNRSK+tLOlzR0sSMT8d3F/Al9pz61yt4pTqu/JmgeSJQvZjTrCqjxTbOx/Irc2lQ9c 2p/9PyhmMNs7hdzEqouJ6CYDF3ztzt8WCv82bCQFGELunfCgvfXKgKXWg4jLL/cE/bIZJVKQwFH wSb8Kswr5Np4PN3T4fCjVDYxQBj1XUUi56ars+zslPo3vpPuNeZFWhy9kVlTQ7tU3WWZMiKvXiv n9nMV/Lvz5921E2XWyhXZgAZBqnqfqTrYrYdKvcjscL2mx/+yppZ0HORce12MFMv/ X-Received: by 2002:a05:620a:454f:b0:949:b9db:f736 with SMTP id af79cd13be357-949ba9c69e0mr6200935485a.25.1796073794982; Mon, 30 Nov 2026 13:23:14 -0800 (PST) X-Received: by 2002:a05:620a:454f:b0:949:b9db:f736 with SMTP id af79cd13be357-949ba9c69e0mr6200931785a.25.1796073794537; Mon, 30 Nov 2026 13:23:14 -0800 (PST) Received: from debian ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88402ce9sm792580515e9.0.2026.11.30.13.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 13:23:13 -0800 (PST) From: Srinivas Kandagatla To: Mark Brown Cc: Srinivas Kandagatla , Ravi Hothi , Jaroslav Kysela , Liam Girdwood , Takashi Iwai , Pierre-Louis Bossart , Kuninori Morimoto , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 03/24] ASoC: soc-dai: export snd_soc_dai_stream_valid Date: Mon, 30 Nov 2026 21:22:37 +0000 Message-ID: <20261130212258.7376-4-srinivas.kandagatla@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130212258.7376-1-srinivas.kandagatla@oss.qualcomm.com> References: <20261130212258.7376-1-srinivas.kandagatla@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA4NiBTYWx0ZWRfXx/5acnd6Ng8e HOm7yIOCDpXju29S7jWVjYaUFPbaxTECq92684TXglbetm2qaEsVII1QOpZ5hkPoHU1BySeTYc8 gq+wNt0O3KFt0kTwYGFmp42kxizRbYVgtkDgav0D/YM6Sr30I+5piC3QnmI7jG4PqybhvwBq4PM Wy4zt5f9WX2a9BrIYy4uML3S0gqBu1oUc7E9CzJ1AVRyoCSuxxYiZdQv6PYriaBxfS2bn8iOqiT WK/FrbIvRIQbw6Nu2FDrHDkYATpnSj9WK8gVolX9nrVQCoICAB7wW8uky7QctYnTRjC0Kf/Sn45 qTBRxXHfoY+3i25UKfsv8vBC/TcqJrgQPIoyjVImfS7pEi+bcYFJE9Em8RFTpo5POA2QxQHK2k+ nSSwgT1KA0yg4awAiYbOdEc/5pXULqjvvEexraJdrypHPfpYGROgYUHsrbZPADTJyFw8pH3O9Dg CYfzSKXrD8xwOks6qMQ== X-Proofpoint-ORIG-GUID: atpWzVB5b-Xa1CiUkUof_TyrVc8wd01V X-Authority-Analysis: v=2.4 cv=PscG/AM3 c=1 sm=1 tr=0 ts=6b0de943 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=cE0UM4t--Vybx2cbpv4A:9 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA4NiBTYWx0ZWRfXyjB+BAYiG+zc srUV+5L9hnqHnyLIZum4PK9IpFVzaXm90ZmALjrKL7LtRId5glqKwlVnK9t7/DogmBo1SSZXDfv vElt/c4wjovY+kUJLhCzRgfUY+pjmLE= X-Proofpoint-GUID: atpWzVB5b-Xa1CiUkUof_TyrVc8wd01V X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_05,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 adultscore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300086 Modular users outside soc-core need this helper to filter DAIs by direction (e.g. the qcom SoundWire machine driver, which iterates codec DAIs on a multi_direction_codecs BE link to handle each direction's stream runtime). Export it. Signed-off-by: Srinivas Kandagatla --- sound/soc/soc-dai.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/soc-dai.c b/sound/soc/soc-dai.c index 73aea7291fa7..8224f12d0fb1 100644 --- a/sound/soc/soc-dai.c +++ b/sound/soc/soc-dai.c @@ -706,6 +706,7 @@ bool snd_soc_dai_stream_valid(const struct snd_soc_dai *dai, int dir) /* If the codec specifies any channels at all, it supports the stream */ return stream->channels_min; } +EXPORT_SYMBOL_GPL(snd_soc_dai_stream_valid); void snd_soc_dai_active_update(struct snd_soc_dai *dai, int stream, int action) { -- 2.53.0