Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3974553rdb; Mon, 11 Dec 2023 05:40:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCMTEVNYI/AumHd4TsZIIwXmy4DVDVVEWLhNqFaqVA+fB5NIdtmpqCuoEKlwvvsMGtwrzu X-Received: by 2002:a17:902:cf4c:b0:1d0:b315:91ef with SMTP id e12-20020a170902cf4c00b001d0b31591efmr5024351plg.24.1702302043428; Mon, 11 Dec 2023 05:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702302043; cv=none; d=google.com; s=arc-20160816; b=SwwmLu8idRTNbHWbrx1vMrhNOGz1raDkDUtmzTq+h/XMbDisfPAUHJhSxr0Pa65C2G rLKTGIxf1rwLXqtFMlG4TVWvBNy85DKYzLgM1//2o5Jdtnl+2rNE9s45NZZcPgbOHFvG ZTC3cpr9HqcWdkrA/yakINxuIlXDfYorj04e307Vaq2EkfqpQNx1acmHahBobik5BQ+Q aM8IVvgMmwKNHaqR/NCfLbqxJ6iHOrgzIV9SVLL+IbK3xCfC0ewdc4lee4BcYwe33u1E 8EXqe0inNQd8vyLL8YL/3ARX/BISgRtaEkFRVun5IkebD0sT7JShdCXn+UD99Le3Lwgh d3FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=inka48OAdcaVBLEbG6N8fA5G+Zz4KQZYKI7zI+nD6dE=; fh=e4U9aepcGEf6O6zjLftAYhmaL+GPTAZcCv4H08JRyWA=; b=SE6BsLJSD8ecKREIMHfkfsFL4Mr+wDGwlYSQe8+3K4/+L24sZsZ+dCKc7isj552vKS 34kYSRjNeR9UX9xidvzPWA/XCLlHnjUjkroc1sYw8+e4qu9Xa2qhWhcQlrbLPU05CMYt elJyaZmQrhRQ8TJeu5iAwirRx87gnIbn4L1iz5VmxNq+S5du71eHhWBIKegGIuDm8qns USiHcRl/kBfK5j12KBq9AJFKGBOipg4L1Zf4d+Cz5bvJ+hRuvOOABKRi/S2bcuIIsDRh tTVxCH//HD5KrSII2X9kNsfuqIssxOdM1Qhz3HO9WdP3gUF3Tnu9Tfye4uMIE2c1IZV4 /vdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KUfgxD50; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d9-20020a170903230900b001d06819a68esi6277017plh.134.2023.12.11.05.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:40:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KUfgxD50; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9D7BA8075285; Mon, 11 Dec 2023 05:40:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343680AbjLKNkO (ORCPT + 99 others); Mon, 11 Dec 2023 08:40:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343677AbjLKNkN (ORCPT ); Mon, 11 Dec 2023 08:40:13 -0500 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108C2FD; Mon, 11 Dec 2023 05:40:19 -0800 (PST) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6cebcf8a48aso3351739b3a.3; Mon, 11 Dec 2023 05:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702302018; x=1702906818; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=inka48OAdcaVBLEbG6N8fA5G+Zz4KQZYKI7zI+nD6dE=; b=KUfgxD50ARUKrWZGYGTPDz2WU6gZuFp9rCS4TjecB9L4lk/Xjecp/43XkkZFkjkk+L 7kDrfUXvuInBj/ljVLO3gEj8AibI6lzppR4gVLPFg7jkjDu6q3IZB+COvDalhwPYCC2w vefJnkokQ0IcQWwXM0ZMfoJwehUvvLiZs3ISS3IbpBEIfgHbg4s1qx/rwMA46f+w1NAy Pvmj3eLB/e2ORqohE8um1sHBNE+aRSC0swKNrFbmuMtXNGBr28OiZqU6uOaea5zuw/Xe MsdXyGI8Clk+YAa+itrR/cYWqSBfIJr/A+sfGqEoZIvaarZrEsUewXYjzksj0jmHRztG F2zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702302018; x=1702906818; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=inka48OAdcaVBLEbG6N8fA5G+Zz4KQZYKI7zI+nD6dE=; b=GK1xXjR4pXIt1XvBhs7EV7w+iK+Fc146gafxe5Cn1MV7r42ozonq7Iq5k+BP7e5FOg c4mG5OmSYjff9xFnHdBL9zqp8pD7QHtyVqUpIv/bIaQACr+IvUQp4vGhJjcqNoKxiAH1 JOqJ+Ek6jif9TqjbwWH0bXQQNJYJjEydWgoDSyrhCZaElnGaFkW/zLWRSoKIcYWpL/ju XVimqFHkYlxojmXh3dkGlcbY8IDdH3fr0ZffwClaUu4QKLUb0QUbYSaTnjeSLQfSw3mp QyGqqaKlQWWW6hWhc24UrArjAVjc0abcsEnM2+oYaCMgxi1d32NpIbMWaCsdN3/C1z3k ZkFA== X-Gm-Message-State: AOJu0YyZP9mndrX8EVPwTaOuB/PwLGeQOMTs8Da7ZhsCcqYoysQ5F8ug BI04PbGOosdCUDJICDwDqsw= X-Received: by 2002:a05:6a20:8423:b0:190:93e:f224 with SMTP id c35-20020a056a20842300b00190093ef224mr6328208pzd.76.1702302018197; Mon, 11 Dec 2023 05:40:18 -0800 (PST) Received: from Gentoo ([2409:8a6a:5426:70b1:a6fc:77ff:fe50:e63d]) by smtp.gmail.com with ESMTPSA id n19-20020aa78a53000000b006ce61c9495bsm6517068pfa.10.2023.12.11.05.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:40:17 -0800 (PST) Date: Mon, 11 Dec 2023 21:40:09 +0800 From: Jianhua Lu To: Mark Brown Cc: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC, PATCH 1/2] ASoC: qcom: sdw: Add TDM support Message-ID: References: <20231211095357.4629-1-lujianhua000@gmail.com> <01cbe664-f344-45ee-a049-1c27b78ac9a7@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01cbe664-f344-45ee-a049-1c27b78ac9a7@sirena.org.uk> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 05:40:32 -0800 (PST) On Mon, Dec 11, 2023 at 01:20:25PM +0000, Mark Brown wrote: > On Mon, Dec 11, 2023 at 05:53:56PM +0800, Jianhua Lu wrote: > > > + } > > +} > > +EXPORT_SYMBOL_GPL(qcom_snd_tdm_hw_params); > > + > > Why is this exported? Thanks for spotting it, I will drop it in patch v2. > > > @@ -125,6 +186,9 @@ int qcom_snd_sdw_hw_params(struct snd_pcm_substream *substream, > > *psruntime = sruntime; > > } > > break; > > + case PRIMARY_TDM_RX_0...QUINARY_TDM_TX_7: > > + qcom_snd_tdm_hw_params(substream, params); > > + break; > > } > > The only caller is in the same file.