Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp915520rwb; Fri, 13 Jan 2023 05:53:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXsR3W1+d3SMy0cEHjco6lRu3iEnd9jUWhlziKiJNiquH2gSBRjc+HEq1Dm/uQYE6B68TL47 X-Received: by 2002:a17:906:9f0a:b0:7c0:e302:b523 with SMTP id fy10-20020a1709069f0a00b007c0e302b523mr86873171ejc.59.1673618015222; Fri, 13 Jan 2023 05:53:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673618015; cv=none; d=google.com; s=arc-20160816; b=e02PhhYYBZvqlgbqd9OrK+ubsNiIuWdsya2COcemDO51xZnfDWfaaxm2QleQiS3osX OMgKwV+t/5aNXbcad49mAnlELK1KZrZsjge+4d5H6gJF7VNISudXE41TbBUt6i0fZHqu FXAsj/JeMuQqNq6y6hmMGVQT0wypSM3Z1qyVYCU1FxB1t394KBjqD71fb18FFrgCiOUd earoUZ9wFo46aEMNxUt10HYDqRENs1rMNi4xjqMfkBmVP+kad50X0Cfnj17wrPbwZo0T 2Ts6xOyWCOk9ZTrgEN1Lv6Zab/ZVA7l7oGh+4mSa9nOZYhEqFXDoOHt8sStXS/BvzrBr NSqQ== 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=ZP8XIsS+80qkgSOQWeJfZPFezfHfSRD008tq6Tt5pVM=; b=JeDDVSTTW7JfTzhhFUVyQQgrdlpcHOfgpi/gZCXrwy89NPXIW1FwEBmzFX4H/E0LuO NbtINKi6GKhYRoGA4GCXVE/5W5uWGaxpU2oiFGkIQ+xZ6QjJlIKKrntcg9jsMv1NbeVT 0508wPw6GykkdYe2lHH3i8Q42yipXp2ntH7KFjK/pkrYjGsMV1U95Qx4eRNkPxsUOqb6 6/IN+IvsXtTDNFdTVYa8/YVrf2cprS89J2oPxvQ/LXr3UDvLVIDCB9Bv/gsk4ciS06ka dSG7TCTES7ESgLOn/uoGgiCQPBCeGuI7Nasgnne3ZIqQcMSNB62XcgWja1jyOfdQvLQ3 InLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+TA5zAK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020a1709064fcf00b00791994dfb9esi24591547ejw.491.2023.01.13.05.53.22; Fri, 13 Jan 2023 05:53:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+TA5zAK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241756AbjAMNMN (ORCPT + 51 others); Fri, 13 Jan 2023 08:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240941AbjAMNLg (ORCPT ); Fri, 13 Jan 2023 08:11:36 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F3540C21; Fri, 13 Jan 2023 05:00:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2CF7461961; Fri, 13 Jan 2023 13:00:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ECE6C433D2; Fri, 13 Jan 2023 13:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673614806; bh=ZP8XIsS+80qkgSOQWeJfZPFezfHfSRD008tq6Tt5pVM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q+TA5zAKqGXCmaGrYk99jkVIQKonzPOPIegiyi8+3I1BxmPRQIzsBF6XwqZ995nY1 67EHFMpuyIpINrwtBWjLO72bP1/a+LErlP0dks1cZ/62ZeX991mzu6avglNIIT8IJn 0QjWBnYyM69eY23rRuLQHJ1QdBNjTUWmagQKDB2y396+kya1S2yYGbFRYhDydcdDGX 5cNH0vywKEefPBNhPGY4mnJqa5927Q27NJWbzohinWryB/AjfGSJ+fvX4VPb8mnMiC a14pIf0Xf35qcjB6F93E/vLbrioQ2MD0A+lRPvtIOLQP5cgQ2FpwKR7QScWVjdQTZz +s4zkg6xtizcA== Date: Fri, 13 Jan 2023 12:59:59 +0000 From: Mark Brown To: Herve Codina Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Christophe Leroy , Thomas Petazzoni Subject: Re: [PATCH 2/3] ASoC: codecs: Add support for the Renesas IDT821034 codec Message-ID: References: <20230111134905.248305-1-herve.codina@bootlin.com> <20230111134905.248305-3-herve.codina@bootlin.com> <20230111174022.077f6a8c@bootlin.com> <20230113090431.7f84c93a@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tY5Grajt3iCZ58MK" Content-Disposition: inline In-Reply-To: <20230113090431.7f84c93a@bootlin.com> X-Cookie: I know how to do SPECIAL EFFECTS!! X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tY5Grajt3iCZ58MK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 13, 2023 at 09:04:31AM +0100, Herve Codina wrote: > For DAPM (struct snd_soc_dapm_widget), no kind of .put() and .get() > are available. I will use some Ids for the 'reg' value and use the > .write() and .read() hooks available in struct snd_soc_component_driver > in order to handle these Ids and so perform the accesses. That's what the event hooks are for - there's plenty of widgets using SND_SOC_NOPM as the register, look at those for examples. --tY5Grajt3iCZ58MK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmPBVc8ACgkQJNaLcl1U h9AzVQf+IpbKw3nUOCd5FnoIfC7a9hLUt4eHIEqikDmn4Lb0N0OX7frf/8tR948l KlKpueTgBz0TLqZUaI43dlzt2AeYsHcshaZ8Rkg+2YtAumavq3sc4rrq+9HxRn5X akZKiao7FYUAVxqcVvyfatB3qtShtwes0I80YL/8JClxfd/vOZTUriymgeTemgwb 3h1esS5zNPKD1rp/h2Fm/AytOFrTE0xA+7HlZ5qmy357cwpc+JKYx9enGt6hwc95 zhE3+AZ1UIc0bFfp8xhGnW0YzlelN1grOl5oar0kdwTOY9kQTwVgTfMp3+L4BBBD 1xdRqnZEhFNnTC1IW724rzztEvTfuA== =p0Is -----END PGP SIGNATURE----- --tY5Grajt3iCZ58MK--