Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1827340rwr; Fri, 5 May 2023 23:02:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xCndbG005s8a/YQejhvB5K+FJE2iVOJa705sREpSDSUZKle+OEcCCUYTEaf7Ru24HeJpC X-Received: by 2002:a17:90b:1d02:b0:24d:fb2c:1ae0 with SMTP id on2-20020a17090b1d0200b0024dfb2c1ae0mr3647301pjb.17.1683352954203; Fri, 05 May 2023 23:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683352954; cv=none; d=google.com; s=arc-20160816; b=mi5rypx8U/6AOZ1XVWQYgDmVNUBSibrJerfTGAc5A5uqeHvQulubPe7ehgfcNqHb5K LXVeNoQ5CFSqWiQngtY39Le+NluyDD/33b7ZUM5+g23LiiEF4ISSSDyD3KlVQ2x9Rdl4 7zyjEhgdMFimcHVj7cpRMrZ7FBiR+WYjDNezqopelBtVmQCnijDwMmcFJrzs12/o5Xt0 2kNm0I4bKit1OlUS5hGx0fXBWx6c0Ceq8Ljg4WI2J0lbiToTmWxRrqAWTz5x9S4ll2nk ls1SD0rBqLPJgyMOucrV2PSLz1RkBSbQYyeBh6TvK6+pccICgEfO/0xxyhxVV2DV2L8E bvgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=9i0SeTx8lIGtrzyO+u8rvIkHwihnziAaxcN8UqkZhFc=; b=Icdy8zbMoFdWJoZAMxZrIV+o4E4V+FuEwfkRWqdkQG197jGiAyL4pE5n59LfXYWbP2 MVFBWkXOdvRSOefwYFCwgOhgOv5y17tUrTlL3sXoI2iUwUsNagmva0qRvqpTfXBYdhP2 2/5E1/BZZmPZD7UpQb4gwTYzlYpbEBLgMLti/T1VSVfaNs0OMj4a2ndNmxY5zX7tQ+YM QPbm7tFsEZGztx0LXWZg6S5ZagOr0UXw7JtBoEFuxfBs1++T4gMrE/oJp6W5su+jkkby 5jUPxhzqiLEVPtFyOs6arFibA/hP3rsbVQCxWmYOI4anzBzuHtube+XvCpGcbpLY+lPj HaHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DZ3ZONca; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y6-20020a637d06000000b00524d69d682bsi953358pgc.256.2023.05.05.23.02.20; Fri, 05 May 2023 23:02:34 -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=@suse.de header.s=susede2_rsa header.b=DZ3ZONca; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjEFF5v (ORCPT + 99 others); Sat, 6 May 2023 01:57:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230418AbjEFF5t (ORCPT ); Sat, 6 May 2023 01:57:49 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695C983EE for ; Fri, 5 May 2023 22:57:48 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id F2EDA20B61; Sat, 6 May 2023 05:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683352667; 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=9i0SeTx8lIGtrzyO+u8rvIkHwihnziAaxcN8UqkZhFc=; b=DZ3ZONcavrzajmpiiy4Xnow3NPEbLx5hDAbTEUaOKDf3dFrA2JdVXZrf5jfMgXeyqtZh2z tI5xXsRNbLwzHwDAFMv4wT6KX8fMBOJ3+5dAqZwlQrn6zLU3goriXrit6T8QPeI/V9JOps QGqoglH1TMNDsDQwFyy0WRSoelVp+oM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683352667; 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=9i0SeTx8lIGtrzyO+u8rvIkHwihnziAaxcN8UqkZhFc=; b=DBb0IShcR56G7dP/+K75zwoycxASgT0YrHfurBTFVaxbbXEOMwLVIPBm1uPTTN1OSFOqAJ 64pRhoFRCPA6yIDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id AB9D4134FB; Sat, 6 May 2023 05:57:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id eP9hKFrsVWQAPgAAMHmgww (envelope-from ); Sat, 06 May 2023 05:57:46 +0000 Date: Sat, 06 May 2023 07:57:46 +0200 Message-ID: <87ttwqgfxh.wl-tiwai@suse.de> From: Takashi Iwai To: Srinivas Kandagatla Cc: broonie@kernel.org, tiwai@suse.com, perex@perex.cz, lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org Subject: Re: [PATCH 1/3] ALSA: pcm: add snd_pcm_add_chmap_ctls_with_prefix In-Reply-To: <20230505165514.4666-2-srinivas.kandagatla@linaro.org> References: <20230505165514.4666-1-srinivas.kandagatla@linaro.org> <20230505165514.4666-2-srinivas.kandagatla@linaro.org> 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Fri, 05 May 2023 18:55:12 +0200, Srinivas Kandagatla wrote: > > On Qualcomm SoC which has multiple Display Port controllers, using > snd_pcm_add_chmap_ctls() to add chmap controls from every ASoC hdmi codec > instance for a give card fails while adding second instance as the control > with same name "Playback Channel Map" already exists from the first instance. > > Fix this by adding a new api wrapper to pass ASoC component name prefix to > avoid such duplicate control naming. It implies that you have conflicting PCM objects with the same PCM device number from the same card. How can it be? Takashi