Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4E21C433DB for ; Tue, 9 Feb 2021 22:30:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D300564DD5 for ; Tue, 9 Feb 2021 22:30:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D300564DD5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id F41EF16B5; Tue, 9 Feb 2021 23:29:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F41EF16B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1612909839; bh=WZ9k9WJXx0HWXnNybpXPhu1jzt1lIJ8l+QmwrKR3WgI=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MV3t3EqlpxrB34j3+hgZaRSn2UtMPBUwATxNDabhP8+8jq7RMH4v6t0IBTAnUZhO4 d+GEGVOwQ9KetgNqkqre6X/FKZoR4LS6FedeA7gWoCt0PvbVhhs+kDqliT/OgceXdA B8W9G6bm7lgDkxuQkUBw0V87RwBA1W8U680Tpstk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E16CAF8016B; Tue, 9 Feb 2021 23:29:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8910AF801D5; Tue, 9 Feb 2021 23:29:32 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D5662F80107 for ; Tue, 9 Feb 2021 23:29:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D5662F80107 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="egI7JzL+" Received: by mail.kernel.org (Postfix) with ESMTPSA id 9B5CD64DD5; Tue, 9 Feb 2021 22:29:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612909759; bh=WZ9k9WJXx0HWXnNybpXPhu1jzt1lIJ8l+QmwrKR3WgI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=egI7JzL+OpEux4lDpojzN34Xxcr219cGvh7tVkTr4aMY811/LAQr7PwEO5iO005ia lsjIoINpYU13szelLLGAdkr9TRlClfyyc77gJRu+UHo+zYYqU1eIZYH/qqFCNGWJnr AIEKZ+Jpo7txoJ2NevlMl308hB4sEMXUwP2klHFZ4SV1M0xW9iM868RjLSbiUeAeqf PXi4x1RgZM2IPbKIfWwLZyyolZiMX3slazpaqmMaPb1CcZPQt42Jk6DEOjko7nXw+N CKhj2Ogy8dGQXwgLuXbJtRT6ekHELllkxmyGUwffhafPnZGCeoixIwI+T2NseFNqBw gwqtoTRXO5ayg== Date: Tue, 9 Feb 2021 22:28:26 +0000 From: Mark Brown To: Shuming =?utf-8?B?W+iMg+abuOmKmF0=?= Subject: Re: [PATCH] ASoC: rt1316: Add RT1316 SDCA vendor-specific driver Message-ID: <20210209222826.GE4916@sirena.org.uk> References: <20210208090432.1078-1-shumingf@realtek.com> <20210208122337.GE8645@sirena.org.uk> <9eff4f09-b127-5912-f62f-ed1e48db2e36@linux.intel.com> <20210208175228.GJ8645@sirena.org.uk> <6b30d40f0eff42748fba7bec65baeaab@realtek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4Epv4kl9IRBfg3rk" Content-Disposition: inline In-Reply-To: <6b30d40f0eff42748fba7bec65baeaab@realtek.com> X-Cookie: Put your trust in those who are worthy. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Oder Chiou , Jack Yu , "alsa-devel@alsa-project.org" , "lars@metafoo.de" , Pierre-Louis Bossart , "lgirdwood@gmail.com" , Derek =?utf-8?B?W+aWueW+t+e+qV0=?= , "Flove\(HsinFu\)" , "bard.liao@intel.com" , "pierre-louis.bossart@intel.com" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --4Epv4kl9IRBfg3rk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 09, 2021 at 01:34:24AM +0000, Shuming [=E8=8C=83=E6=9B=B8=E9=8A= =98] wrote: > > Right, this was my expectation for how this would work - dynamic contro= l at > > runtime so you can do stuff like that rather than a more static setup l= ike slot > > assignment is normally.. > Actually, the "RX Channel Select" control could select the channel. > This control could select the different channels to output dynamically. > However, could I keep the rt1316_sdw_set_tdm_slot() here? > There will be more options to set this configuration. If there's a control to override it at runtime then duplicating that with set_tdm_slot() seems like it's going to be a route to confusion if people change it? --4Epv4kl9IRBfg3rk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAjDIkACgkQJNaLcl1U h9DcWQf/fLo6ITLkNWq1aSFfqKJMwGPvTXJuQnh99wHHEWw08NIr3OScNqqk9kLF FOB9desBPrViGSVOBbXlTFmoKjNBCSwJIpLlRmxp1HkLq8kw65CuBKf+F3fggshz ifh1+w2qStBBwbcxsZ66x/KrY4+rqrqrkubqs3Culk/lnNFXKK7AS6kzRg4JD+GB oSYzfB8Y1h3Z1wbQRkRQa1t50FUonGCwMpYjyYI6UqeU5cJY9djxIaQZl9oMoZYU GbnZD9QXifgGVKFRsla72ax9FxkPVGkIp+qQ5V2ssrL2pifWqajmi0WorYlYiFSe p5W1b+swy9FIggHs2IcGVmXUG5FFxg== =d7Mh -----END PGP SIGNATURE----- --4Epv4kl9IRBfg3rk--