Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4684FC433ED for ; Thu, 8 Apr 2021 12:06:33 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9DB9161165 for ; Thu, 8 Apr 2021 12:06:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DB9161165 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 52B5F1607; Thu, 8 Apr 2021 14:05:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 52B5F1607 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1617883589; bh=afXTCtARz9Gmj7IjD/ZmH4dX6cQEUNfqiPtU97/H75w=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=sIIvbUDkWsljUacZ2sUFROZyC8gFIgxak7RJ2mLsZNR7NDqXpLsIWGhP0lsMC9pYR 4z2yPlOtmbcFxIAo6T1a/bOqkYa2CVe7wQahNVASquhRyRklhNwp2ofNQz9WNjyq4s jxDYNKmfbSrs1YnLQtYaK20YlEirs1/Eh5FsX81E= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CC44BF80162; Thu, 8 Apr 2021 14:05:38 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D29AEF8020B; Thu, 8 Apr 2021 14:05:36 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CC195F80162 for ; Thu, 8 Apr 2021 14:05:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CC195F80162 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h/suy8mJ" Received: by mail.kernel.org (Postfix) with ESMTPSA id 19DBD611EF; Thu, 8 Apr 2021 12:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617883520; bh=afXTCtARz9Gmj7IjD/ZmH4dX6cQEUNfqiPtU97/H75w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h/suy8mJ6so+yXKCralDGHC7fkSPoNyqQ2IgKRYjC3e3l1zZC2u0L2ysyUeTuo/rY 3RY9AlEmzdTgg+lt/YzaFyQ7jXAmE1h5eV0Bukqes3cI0uFMyxseM2Zhi6ouPbZIUq ZPJW+DgAKcqg34SAElB21QuY/MrHnxLtyfsp0TXufP7taTmm4ZX4MWmWQH71ngyB8j mhR2IPmvfNRyAFLwNRlj9VaJL03xkz77u/LlSeTgeTp2a/JqBBYbKAkzZcJqw5+ZEm TJFTu/UoD9mSYWJRzv0gGV/t0lLpt+eATwGocagMY6pCG2mM7gW72TDtjb3pfuZZYV uO9DmCr9uTBfw== Date: Thu, 8 Apr 2021 13:05:02 +0100 From: Mark Brown To: Jaroslav Kysela Subject: Re: [PATCH] ALSA: core - add more card sysfs entries Message-ID: <20210408120502.GA4516@sirena.org.uk> References: <20210408094314.1322802-1-perex@perex.cz> <20210408103819.GA40407@workstation> <45acc908-3603-3479-9fb2-5206339a9ace@perex.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <45acc908-3603-3479-9fb2-5206339a9ace@perex.cz> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Takashi Iwai , ALSA development , Pierre-louis Bossart X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 08, 2021 at 01:21:52PM +0200, Jaroslav Kysela wrote: > Yes, it's for UCM, but even if we don't consider this purpose, the kernel API > should return some reasonable information rather than very generic (or empty) > strings which are used in the native ALSA utilities for example. So, I think > that we should allow to "fix" this info also from the user space rather than > to extend the existing API. Half the point with UCM was supposed to be to rewrite the control names we get from the devices into standard things that are useful for userspace, having to remap things for UCM doesn't sound right. --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBu8W4ACgkQJNaLcl1U h9Awcwf+NBwQtJflBAgMOJvvuAiBVxerBbjkCjS7hcK/kpT7p3AbcnvppIK7DsPH vZ1ADVJP0o4my1v3ihQKGj0OAnoFZ1bKxF0l4iY98Hw0fnb0fiLdaZbKmQma7sFS dG6H+1nf7ixzdlSUikzZLPxMW20w3GIc7zZcyxtQ4dCrgsIp0qSqCzxX74tGEisP smtTyCOgKNmcm8W6uJ6eM3C3uYhYWGfGb2KFHRhJb8ehNNmbotx4WEShz7U8QQzo adgbdK3jmzDT7GFeYpWngbkGhvsJRPGXQwRTrnkKykhObymezmdgpH1UYxzMGynr yGYJzc2orGLl4JVXAuyhTV5q8P45MA== =5LjR -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--