Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp657962pxj; Thu, 13 May 2021 13:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVZMGCbrzOOZfHlGnCQeQFPfQhHzYgqsb1cn1vjXXg40ty8h6ureUI5HFUQgjnjMwr9bJ2 X-Received: by 2002:a02:ccad:: with SMTP id t13mr5398271jap.11.1620938935056; Thu, 13 May 2021 13:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620938935; cv=none; d=google.com; s=arc-20160816; b=iFWdiwDo19ldueefaydjbRu9TAqKnYqI+b1IhbZtBPux9GykDusySJQZSkbAANdUWg JUdRKIBRwc6rUfLZpaxOVLm0uvFY9jyaROoj/rksGiByyPLFFW0Gy9NvxCWU+jFqSNw0 8mwoKPvvMRo9hyAr2758718T+UkQH8DLm5v8wBoM6NjX/En2/6cFoMxp8t98vrZA+im3 S6pZ5hagwy7MSozHqg3rTPsVTJdunVQiA83iig1ccYXPGbEzWGoKp7n1eSmdf+BESjOw VGc6+X68r3koDRKb5QWWi5eLUZC1Tf238g1amCWEOhxD/+n2Voe9tLgIUP6DMFrDv90U IB9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=u6VQvac6es3gBLXdT60/ELizM6MKWa0DvjKD134bsGk=; b=pQPp0rbrqV7OJWglCiORfbowJ1EbUBhq5kwEYcsjsDqk2fIb3EO8hhnbcGN8WYmqQZ RhaMNHV9NN6oiUzs0TNvAhWf5EebpHqXu1g+nOzblCkqf7sS7yNU35jZQKuBm/V4jB/e 0xGxeWOS3LDRBvDmJ8opTq5HSFvl+DGv832T1xFKL3BxdU3VcZRahRmbMdzXKzJBMPdu 76SiZW0X/G7SJ06c3w7ujRjKqjHrzd7RQHLx3smaKHDEKxbzMaUu3IGPZR4Iiea7cljt MOI3C4TTi3p3cUupA9iWpCamiOR5r9Lw+2V63MmXY20r+0cU61PaDubVRsjNo83eBg0y LtBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O7qOuLax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si4664123ila.99.2021.05.13.13.48.04; Thu, 13 May 2021 13:48:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O7qOuLax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231235AbhEMNds (ORCPT + 99 others); Thu, 13 May 2021 09:33:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:44094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbhEMNdY (ORCPT ); Thu, 13 May 2021 09:33:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 905EF61363; Thu, 13 May 2021 13:32:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620912735; bh=K3hK/G0b4FdBTcp760KZTDWKAGMICe3kjVKyRjjqQ9c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O7qOuLaxXWxqLB+rL/HX9ZhWlHqP8nfh3Q9rsGaq+oqaILxb7A2yOcza8+fjoKGU8 8S7hkErJa1OVOwmY8/LF8zEsiytqmO1mhY1CT9AswteaW02VhbDyY+0pJXGorU7aHD tXzzfjTFsScF64ftJTUYbiW48RVFgZN3SMG1nj4UQEe0ZhCE+DKm1vaWvxK92udSfT 7H2F94ZXPKZmypQvYg6xITj8Sj5LQzrjGw/gig0WNIZX/uxM3/37CL3FPjxBcApi2t 5nJvkjTbqptMRdoWYe9aT6b2pF1jgt/SGT0ZARbqNjoC8vbb4jkfdKrvAZmwe6yLi7 ig/c1fLmFqhBA== Date: Thu, 13 May 2021 14:31:32 +0100 From: Mark Brown To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org Subject: Re: [PATCH] ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin Message-ID: <20210513133132.GC5813@sirena.org.uk> References: <20210513114539.4813-1-srivasam@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline In-Reply-To: <20210513114539.4813-1-srivasam@codeaurora.org> X-Cookie: snafu = Situation Normal All F%$*ed up User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 13, 2021 at 05:15:39PM +0530, Srinivasa Rao Mandadapu wrote: > + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { > + ret = regmap_fields_write(i2sctl->spken, id, > + LPAIF_I2SCTL_SPKEN_ENABLE); > + } else { > + ret = regmap_fields_write(i2sctl->micen, id, > + LPAIF_I2SCTL_MICEN_ENABLE); > + } This commit doesn't remove the matching update in triger() so we'd have two redundant updates. I guess it's unlikely to be harmful but it looks wrong/confusing. --3siQDZowHQqNOShm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCdKjQACgkQJNaLcl1U h9DuswgAhMWhYHcZug7WiZh1LrB3iTOXX6ezIaxTUNfqlza9nf4nSQw3P3tyO6ci LZGERj2vXEi0Eukkh65G98T6YV8j4cyU+91R2pVjb1RJC+SJwSl35a4ZEco777Hq GsOtXWYtHhpOOhpZvG+jkRSnUrkMDn1yOHPfWyApP4958rJxwqsKoHevCwuSTDrF fMt2F5eb1qoeao46trnkbNGs1EaWYm7nbu3TFZDWa2FWxTvjJoNc00m3S+hOapMr EsDSrpsSmcbGu7JHHGonJ4t8mdxsoIEsGy4JcPpSbbwu4mb5GZsGLGHo8jVnTF44 +uGj78EbxQRId8s4I71QW3lXnalgRQ== =jAkE -----END PGP SIGNATURE----- --3siQDZowHQqNOShm--