From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7BE96C48297 for ; Fri, 9 Feb 2024 10:41:25 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 781BE850; Fri, 9 Feb 2024 11:41:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 781BE850 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1707475283; bh=NLCu0xxeKmLv5966mc08pfon0VtvvF6i/4Pcp3LPTFg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=KN1gDuY2iS7LW0BxGc4wEMBoZO5+FjGrdfgVLHxQQhG6grg3j9lUtDPN7AmbQB0rS M/0JfRVzaVIjMO27+0BoDGPdUcFuN3ktomjD0vVh1DBQjAMSZJ/VHwLJJw6rRX/rhp EXLKKNEu/fs+XpXHd5jePcV97kUEg86GbVg30C3E= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A4068F8059F; Fri, 9 Feb 2024 11:40:51 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 08B1FF805A9; Fri, 9 Feb 2024 11:40:51 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BE4B3F801EB; Fri, 9 Feb 2024 11:38:37 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 021D6F800EE for ; Fri, 9 Feb 2024 11:38:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 021D6F800EE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=W20FpOxA; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=cSRrLAeT; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=W20FpOxA; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=cSRrLAeT Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0C5761F7F9; Fri, 9 Feb 2024 10:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707475114; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+6Slx034B94xqhyjrIysxXhS3MNMSPMgz7N4W/H2K3M=; b=W20FpOxAO1xMci6rvRzFEcMQEkpCDpJb6iQB2JFQZl9M2xZoD7Ekoud+XrYMH/hwMUQ5S9 vtN8SE+ABQG6t2SnbFze0pQt6Kyt+DDhL/VEPdjPXdNKcV+PANjWDlsPkI61AMQfzhJIGV Wn96O8AgqVyuhfQpj6wGfl953BWyqDo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707475114; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+6Slx034B94xqhyjrIysxXhS3MNMSPMgz7N4W/H2K3M=; b=cSRrLAeTvFszTG1osmmpvW66rNsm8CWNK/arn5LmCjG4kB6Fe3+fzbmLA+tilmmV9Xit18 KOtWoSYs+osCqzBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1707475114; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+6Slx034B94xqhyjrIysxXhS3MNMSPMgz7N4W/H2K3M=; b=W20FpOxAO1xMci6rvRzFEcMQEkpCDpJb6iQB2JFQZl9M2xZoD7Ekoud+XrYMH/hwMUQ5S9 vtN8SE+ABQG6t2SnbFze0pQt6Kyt+DDhL/VEPdjPXdNKcV+PANjWDlsPkI61AMQfzhJIGV Wn96O8AgqVyuhfQpj6wGfl953BWyqDo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1707475114; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+6Slx034B94xqhyjrIysxXhS3MNMSPMgz7N4W/H2K3M=; b=cSRrLAeTvFszTG1osmmpvW66rNsm8CWNK/arn5LmCjG4kB6Fe3+fzbmLA+tilmmV9Xit18 KOtWoSYs+osCqzBg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 5C1F41326D; Fri, 9 Feb 2024 10:38:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id cSwEFakAxmXkJwAAD6G6ig (envelope-from ); Fri, 09 Feb 2024 10:38:33 +0000 Date: Fri, 09 Feb 2024 11:38:32 +0100 Message-ID: <87wmrd2a8n.wl-tiwai@suse.de> From: Takashi Iwai To: Wesley Cheng Cc: , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v14 41/53] ASoC: Introduce SND kcontrols to select sound card and PCM device In-Reply-To: <20240208231406.27397-42-quic_wcheng@quicinc.com> References: <20240208231406.27397-1-quic_wcheng@quicinc.com> <20240208231406.27397-42-quic_wcheng@quicinc.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [1.20 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_HAM(-0.00)[34.56%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_RATELIMIT(0.00)[to_ip_from(RLjs3ec4aura4kmsd6wxjjm4hg)]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWELVE(0.00)[23]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[linaro.org,intel.com,perex.cz,kernel.org,lwn.net,gmail.com,linuxfoundation.org,synopsys.com,quicinc.com,suse.com,vger.kernel.org,alsa-project.org]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Message-ID-Hash: 3VZVE3C6IEXY3HWWCRPMXQCTPR4B5UBZ X-Message-ID-Hash: 3VZVE3C6IEXY3HWWCRPMXQCTPR4B5UBZ X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 09 Feb 2024 00:13:54 +0100, Wesley Cheng wrote: > > Add SND kcontrol to SOC USB, which will allow for userpsace to determine > which USB card number and PCM device to offload. This allows for userspace > to potentially tag an alternate path for a specific USB SND card and PCM > device. Previously, control was absent, and the offload path would be > enabled on the last USB SND device which was connected. This logic will > continue to be applicable if no mixer input is received for specific device > selection. > > An example to configure the offload device using tinymix: > tinymix -D 0 set 'SNDUSB OFFLD device select' 1 0 As I mentioned in another patch, the control element name should be more understandable. The same applied even for ASoC stuff. The current name is way too cryptic. thanks, Takashi