Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp896912pxb; Fri, 22 Apr 2022 13:43:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYKp/TSoc9oPLgwzK6ppK/AKqc+gHormQnT+a2oJk6J3TvWXRXFSGkBev6bvt2FX7V8guC X-Received: by 2002:a63:4862:0:b0:385:fb1d:fc54 with SMTP id x34-20020a634862000000b00385fb1dfc54mr5429275pgk.57.1650660210748; Fri, 22 Apr 2022 13:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650660210; cv=none; d=google.com; s=arc-20160816; b=iOr/tw5J92qBouEK47TQk1m5agRsMui6eouw3Ry+WgjTKZ254qNL+V3UZOBEWX7437 iZj0RsO9AlRgKhfLSO4YRHd/zD2voQJcN535w3t04LmH4cTghLNXa32o9gq31LcPXOd5 ObM9AgSdqos7fJhdS5SQ56EocqRDzFbIDt6BLpjwD7JfXZ1Qo0Td1NxKGQP8VwiBcmdU 381hrlSl+D5XA3oUJSpWM5mII3DAwrJuLYXAsDRZQuFcFXL5kY3k0V79EBegd2HiFy9A FdfX0pkgbAEYVhOiEmbyfO+j13Q0l7XdEa7brBGmNrPVwM3er3AAu5viyx3tkNUakZQD kkTw== 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=IyG3Pkj0sGX7winhLp4U/9W9nDmOlrJQ7uHxz9FeySE=; b=epDxffpw4/RsI24AkdZn+SWwUqSvfav8di9f30j5/9iJc+eijmnCRoqZkd0OiTKG/v ZCuRDcoKpKYa7tTu+BIkwig1LqEWFc3LSR5l1Wx9D+P98B/ZSsAwLK+W2WcJ8UugIr34 IAVEwpgxMjbxa6TFE+m2U68S8BMRNwXNcBTP+n5ZEXLd6YLZT67i3AVTo13l54LWJGSV t7LC0CpNPVGIdXGFmE//GyG8FlsAMzfsJWZ+fm/WyiB8HD+YpwehVkSsOsi69NsBNUd8 jLxhVUaPaBLo4ahkGbkOC4Erw1Boh0kd559lj/tGvPi2N4rK/Fap1Fp7NUmSmYYrmIhC Q2gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GDVYCD4S; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b8-20020a63d808000000b003aa83f9b792si6416439pgh.397.2022.04.22.13.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:43:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GDVYCD4S; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61DF510F408; Fri, 22 Apr 2022 12:30:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442804AbiDVNJi (ORCPT + 99 others); Fri, 22 Apr 2022 09:09:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233857AbiDVNJh (ORCPT ); Fri, 22 Apr 2022 09:09:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51ACC22B3E; Fri, 22 Apr 2022 06:06:44 -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 E18A962067; Fri, 22 Apr 2022 13:06:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99B50C385A4; Fri, 22 Apr 2022 13:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650632803; bh=hDIXGys28YU1AgFgBUhJKgfBRTj9j4CvWUnRGcwIekE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GDVYCD4SK6NLWfa+RGm24cWgtClaJixuJEYfnuky3gUNwzOfdD0CGXZO8Eu/sY+j1 ZVC92Jrn8r2HESDlKi3bCxMxW5eKidgN/pXmpI2z2xOz1dU5cRx55slt3VyedgM2/A M+AL4OFN4MsUVYb53/Hp55PLCflOuaV4AylLzVKmgZQfWe58+xa8KNcHAGmegzsIOP +IWFHNFUMKBg79uVOZOznzEwT1+8z/vDxqgSAVLq6pAqw561qXm9LJd6gXsB/bFQLr LoZ8cI+qF5MpFp1om5KR9PnEJlffpw1x/NCG43Xz5qsd2L2vEw8IsPmnEDUhWb0pU+ LZb3bg00ZPS4w== Date: Fri, 22 Apr 2022 14:06:37 +0100 From: Mark Brown To: Martin =?utf-8?Q?Povi=C5=A1er?= Cc: Martin =?utf-8?Q?Povi=C5=A1er?= , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Kettenis , Hector Martin , Sven Peter Subject: Re: [RFC PATCH 0/5] Apple Macs machine-level ASoC driver Message-ID: References: <6F6130F3-381C-4AB7-B618-CDC4C4A37C9B@cutebit.org> <3CD969AD-7316-4D83-AD92-CC85ED817125@cutebit.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h//nqm2TleJK+t0c" Content-Disposition: inline In-Reply-To: <3CD969AD-7316-4D83-AD92-CC85ED817125@cutebit.org> X-Cookie: Whoever dies with the most toys wins. X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 --h//nqm2TleJK+t0c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2022 at 02:53:54PM +0200, Martin Povi=C5=A1er wrote: > > Oh, I see - the speaker actually allows configuration of the slots > > independently. Usually the left/right thing on mono devices only does > > something for I2S where the bus clocking enforces that there be both > > left and right channels. Either configuration is fine by me TBH, if you > > can do that then you could just keep them mapped to the same channel > > then mark the control as disabled since it should have no effect. > Well but is there some established way to mark a control as disabled? snd_ctl_activate_id(). > Another issue here is that if I disable it I can=E2=80=99t leave the rout= ing > control in it=E2=80=99s default value, which is =E2=80=98I2C Offset=E2=80= =99 and makes the speaker > amp ignore the slot mapping. Sure, that's fine - if a control genuinely has no effect it's fine to hide it from userspace. The issue is where it's just that you don't see the use, if the control demonstrably does nothing then that's fine. --h//nqm2TleJK+t0c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJiqFwACgkQJNaLcl1U h9AV8gf9GwzHMBap1p3cUin8nTIQKJwTl9QCbOmThnWJbuYKWeALxn2lKmviBaj9 cK6oSVKCxCZlda0aKQSesJ4okIAQLbk1o4567sntkbBp6CuktSmlTOir7R6xVydZ IP/+pe8VGfqKFgLN+IHvNPMwOOA22UfsGhAA5M3A7i4B4qApwIVJlQicJ4TwD7y1 jCZABx6q6DJoq7nclV1aSGvFZOZqGy2YxtAkHBs9vACqznwKchY7Z2lqZC7e0ys4 Yl571RGhhMUWViVPe1xg65Jg/GOWHnzggLuPEk7M7ZGnriQF5KvEVVLpAaW8Wt0c F1qXhhnmhgJzm6oJkzV/zd7+paTaRg== =qSEG -----END PGP SIGNATURE----- --h//nqm2TleJK+t0c--