Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp398623imn; Thu, 28 Jul 2022 04:18:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1svtNn8GQlY/2YSh3Qk22OHOrWN53f8gCynFl/YgWxvOQJqkiezmlZeQlm9rqTQLbbuzZGG X-Received: by 2002:a05:6402:350a:b0:43c:4528:4eb5 with SMTP id b10-20020a056402350a00b0043c45284eb5mr13342933edd.372.1659007116110; Thu, 28 Jul 2022 04:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659007116; cv=none; d=google.com; s=arc-20160816; b=hFBV4fmrnadp9GovfrJQyhKhCPD2FTh+OlLdVnCvsaA92hU9v2F787WC2ECncaSCnK PnNnCfUIbT6b32i1Pz7LpZjwAS8CmquDUoCzmOQI3U17cSoIBaSprJ5Rvoxsy1KstBds vnR6Vn0+zr4FNKqZnSwEsElS10Q9/96Q0IphhL6TMu5pnbtkRa7BMmAIUlAqWzlDewXq tVXAcdZRlyu7NcU1WbazJjzFlzSIMJWCUtZV69ZnBWGjS9CWcMBB3D56mK0ZZ/tjm0Pv zE//xTMJ4p2bcDPT1b5vQvEYO1X5sNSZLLxRk1oYdm2CP4SHdh+xKvU2eJIhFdehoPd5 /W4w== 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=dv5UDIO2qL6Sr/5ZueInSzfjM+1op+OMtpDzcQ1mTsU=; b=aTZfuR9o6CYF5G+M9GAbEMvAvqTE8qWgB0B30W1FQwsLZywhVi8FGhQI6tzhwQPUtQ xz7OXwd1gZoQzB2np6T/b8O7u75CXKmtLpMLR7/SSuIOZR6Qe6wN1L6lPByCH3Z8zznB 5F2gBPI6EmJZgHEMYAWMleiGmnp4HKLivAO4kK3sXrC/EqCqtuCDj3kQqaI3IY9O2Xkd MJ3hz7wR+T/nLvYkAwFdr4clFnGphHbMvo522taviz7agcPpUIs+ij1d4ao4L7mkv2RF 4hi6qr9DpBs75ZNQ6WyJIuWGCx60DEMyf658mG9/TpBt2GIFdwWbHbBZfPS+bwy7Sf48 YHJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EuPBj5Qb; 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 gt38-20020a1709072da600b0072eef713a27si455514ejc.965.2022.07.28.04.18.11; Thu, 28 Jul 2022 04:18:36 -0700 (PDT) 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=EuPBj5Qb; 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 S236250AbiG1Ktw (ORCPT + 99 others); Thu, 28 Jul 2022 06:49:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236157AbiG1Ktv (ORCPT ); Thu, 28 Jul 2022 06:49:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37F955F9B; Thu, 28 Jul 2022 03:49:49 -0700 (PDT) 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 B88C16199C; Thu, 28 Jul 2022 10:49:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABB2EC433C1; Thu, 28 Jul 2022 10:49:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659005388; bh=c/xTkxRbWD4FTJsS0u1tXoSZ7j2nlmXNxawdaZwg6Ms=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EuPBj5QbHdjkGUBWJJ6hQ+NZfpW65W+gjBZYMO5dwZGGQmnfViFK4YTJ0ScPf/18u grSS/ZSb2vZQfDw35zgn3xdME5hLtn2SXwjhpNZnm36TtD97k7iaQhyeUcRumDc4Oe YrJnFmvdtXlqPgx5sNI42r8uwYwKwT5af83+42LxTjuub/W9cUChEZGTVm/vg6vpWv E0DEOhLq3ZK6X6Dy6bgNn5nnZISii6PY+wEiqjvYL7x98SeebmzUY/xbgDxUYapiCJ Vi9I+7pBEPxKgCoc+jdEfKe0x6a0qlPoPVvTk/LkBIUGr8O0OV1xBnbSSBwLBgS1z9 8r583cZ1J1MuQ== Date: Thu, 28 Jul 2022 11:49:41 +0100 From: Mark Brown To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org Subject: Re: [PATCH] ASoC: qcom: SC7280: Add support for external DMIC bias supply Message-ID: References: <1658992233-28372-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="19Amlz8gj2K5TooV" Content-Disposition: inline In-Reply-To: <1658992233-28372-1-git-send-email-quic_srivasam@quicinc.com> X-Cookie: People respond to people who respond. X-Spam-Status: No, score=-7.6 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 --19Amlz8gj2K5TooV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 28, 2022 at 12:40:33PM +0530, Srinivasa Rao Mandadapu wrote: > +static int sc7280_dmic_micbias(struct snd_soc_dapm_widget *w, > + struct snd_kcontrol *kcontrol, int event) > +{ > + struct snd_soc_card *card = w->dapm->card; > + struct sc7280_snd_data *data = snd_soc_card_get_drvdata(card); > + int ret = 0; > + This is open coding SND_SOC_DAPM_REGULATOR_SUPPLY() isn't it? --19Amlz8gj2K5TooV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLiacQACgkQJNaLcl1U h9C81gf9Ga+tG1jtopYoO2vybAFTSEv9+weEyQYVfWYlV/dr54/mFfs5thvXdkQy C4ZHp1P2Pvc0Zz21fKPITIZ/oUJvMHAFsUN1OvD5QDn9tXyn3QTYjnQvxuKYC9iF QuwAqQClFBn+VdUNev78ZC8alwfezPpz3RfFVHg6gO22v9w+tsOe6YPeZYU915is 0jI/vXl4PYcb7PYgYp7k0Uyr7wdU8Ju6z9HqRC2KRhwasNRZjndt6XRfGF2QpybG VOQtO49CDUOLxdDtNfC+hu25oeI4Hi+1WVVpHxmKtzLHlraQkbRf9C94jSyS75qa 4h/gpJnIHzoUwOmrWzLg3ZS8L/vGyA== =k9u9 -----END PGP SIGNATURE----- --19Amlz8gj2K5TooV--