Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1281790iob; Thu, 12 May 2022 15:44:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRCesZ1decYjiritNO1FARt1WL/KtyZ7H9BOPS2jovObfn6+Cqdp6gerGHkFDcsPuc3Cp3 X-Received: by 2002:a50:ed11:0:b0:425:c3d1:4547 with SMTP id j17-20020a50ed11000000b00425c3d14547mr37694311eds.410.1652395464039; Thu, 12 May 2022 15:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652395464; cv=none; d=google.com; s=arc-20160816; b=lJ/xQ5Xna/1wok4EP2VMdTmU0IT4JqPpHOJE5BOZOuxh2VNyjQWAF5dR3fewHqSYTe BUrT/P7/sVbXN+xHwsl8rZX7eY75ME2VM3ivD4G6sxfpIqxZpERk18y3DsReLidtwrzP owpqX2Z+rOPZVdUIYEKlDdx4dHmmOrsckmXBDNF8ru2u/EAH9iYt2VvUE+acZLxczqtN SYyCOPFpDNFwpp8iHWc+6EJWWh9JSkwiyC5Welm3y5yfs0AgKCHpfpfFcNFev2DOj1AO P6bRSSqSznwtJodzHVSv9XHNZlrOffUNuu8VqH5yqQL9BBYy9CvG0vWORKohwfZaj8Fe 1zDg== 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=M35xIEgJv20BlrmcGtoPInJ8lh/Ac/m9j45FxaEtdi4=; b=B2D6lQGo58LscdHyc+GEdPkA9wKXXHZ29HrRdJxwrBurjU0LUHFYSGMcdnBQJCuhJO aLSemXnnjjX6L01/QUswmPIZnF74u2dnYq4F+1AqHVoOiL44YvsR3UiQkPzWrkOsDkKp ErGO8521Mu7gaYu+FRhHVLBtOUQf2gW+/0s4HA5rq8Tv6IA2F7whCdpyLY/IldugftHs dHMa2ZhSJ8/lQn58xU+qt0QKOCHiVknjVfdVBpKIW/NitEbHaaRUvz19pwTGsGT8ufHR Nlhv2Y6JjewR7ucv7DcR+PfnJ/VxVzWh20fPKslG/f1uFSTzWm10qwETcQuZxdDatarr cQ2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CA554f/a"; 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 nc26-20020a1709071c1a00b006df76385bf9si600038ejc.153.2022.05.12.15.43.53; Thu, 12 May 2022 15:44:24 -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="CA554f/a"; 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 S1352466AbiELKMR (ORCPT + 99 others); Thu, 12 May 2022 06:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352382AbiELKMM (ORCPT ); Thu, 12 May 2022 06:12:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADBDD63508 for ; Thu, 12 May 2022 03:12:10 -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 ams.source.kernel.org (Postfix) with ESMTPS id 21009B82701 for ; Thu, 12 May 2022 10:12:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6A62C385B8; Thu, 12 May 2022 10:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652350327; bh=Oey5BXGPbf1OugkOQQFP+E2qKsEx1HsDDiLcia9Q0nQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CA554f/a0F6olDd5UTIsirFcM+zB4aDqr5WhbIvwyyXkhDo/cP78AtprtqRVcB6SE t8nV4m7RGgGWftGkF68aDKcbMf5U/OZc5CNeVrEk9Z3o54apQCf174PtjBWlgXcCiL bSq7MWVkthCDAb8M3WaF5NHejiC1jI+HBi4nCTGXJt3yndCr75vh20YZS8jOznoZLX DaSxGg7VBWrJ5ANPRN8L62JZ3ZnGZ0oGXLOVF1H0JmSLzknEtPAgRskKVAI2jvMFtj d6h/AbatCH6+SGyMzGXnMLvXQZco74bNhdsPrCcFex72baicEk+xGqD84Jq3Ad7lkt 8mQ5TQC7dpVrQ== Date: Thu, 12 May 2022 11:12:02 +0100 From: Mark Brown To: Tommaso Merciai Cc: linux-amarula@amarulasolutions.com, linuxfancy@googlegroups.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: max98088: add support for reg_4a_cfg_bypass reg Message-ID: References: <20220512074359.446999-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Rk/8LQJNy9MPTC4G" Content-Disposition: inline In-Reply-To: <20220512074359.446999-1-tommaso.merciai@amarulasolutions.com> X-Cookie: Oh, wow! Look at the moon! X-Spam-Status: No, score=-7.7 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,T_SCC_BODY_TEXT_LINE 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 --Rk/8LQJNy9MPTC4G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 12, 2022 at 09:43:58AM +0200, Tommaso Merciai wrote: > Add mixer controls support for M98088_REG_4A_CFG_BYPASS register > +++ b/sound/soc/codecs/max98088.c > @@ -486,6 +486,11 @@ static const struct snd_kcontrol_new max98088_snd_co= ntrols[] =3D { > SOC_SINGLE("EQ1 Switch", M98088_REG_49_CFG_LEVEL, 0, 1, 0), > SOC_SINGLE("EQ2 Switch", M98088_REG_49_CFG_LEVEL, 1, 1, 0), > =20 > + SOC_SINGLE("SPK Bypass Switch", M98088_REG_4A_CFG_BYPASS, 0, 1, 0= ), > + SOC_SINGLE("REC Bypass Switch", M98088_REG_4A_CFG_BYPASS, 1, 1, 0= ), > + SOC_SINGLE("MIC2 Bypass Switch", M98088_REG_4A_CFG_BYPASS, 4, 1, = 0), > + SOC_SINGLE("INA Bypass Switch", M98088_REG_4A_CFG_BYPASS, 7, 1, 0= ), These look like they should be DAPM controls since they're controlling audio routing but they're being added as regular controls. --Rk/8LQJNy9MPTC4G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJ83XEACgkQJNaLcl1U h9B8ngf+PqafSiaHQZbAhE4xWyxrNCZE8LZdLVxT4EoKR0laiFWL/7SXyI7tdfRl KK9c0GvCubb9MbNPl3lhFmsPutwnNGpfZmG9JQt3DNcPuyyubB9AJAxq2QUQkIPr buGHa5C3sFvBgWK7s/tkbSiZRvAYDCYlNZULXD27e8l02qUUK/H5QH9ZB+6EM+j5 n/y4IGIU8FfioDS52UQE11f/lEaRG/arItQ8QYbdBEKOInA+Vm3eCu54j+nLknjr zBnkr+920iw3UdzBNIasCDnzF2oW5W5tMGWvZEDT8QuQnwGDVuRvkajAylFn+PkE BbRJ2CENvy9DMpzy5+Wg4RJVTUTuuA== =emk8 -----END PGP SIGNATURE----- --Rk/8LQJNy9MPTC4G--