Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1909503rwr; Sat, 6 May 2023 00:59:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UsKLfAWgmTP2mgFmWyrFDXxcpLjv3AQjieE8okmRdIj32uJOkVcj1xajCqfUDiz+aOu3u X-Received: by 2002:a17:90a:cc0e:b0:24d:f95f:cff1 with SMTP id b14-20020a17090acc0e00b0024df95fcff1mr4229161pju.0.1683359969390; Sat, 06 May 2023 00:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683359969; cv=none; d=google.com; s=arc-20160816; b=Lvjo1N3yeKR8nALkI+DkrSGNxKzkBJXL4wA9KvUcTB+YkM8p1wUtMDZvTCm/SLJA/i G0Tdvz0CjuJNZ8jN0/VdMGWV2EiqgL8dZVmBeVAMp4wrxB1QXAnDhS6VLxoxXHa24GHF lmFHFMd8pdQWvJZp2JQtVdYF4WtAsP31yH0+ctjIINDV3+6Ec8sxVMgvHUPh/g15yioY 4IjAczP9L/1pQbINlqrxwFJYicOnj8TfKqRnDhBjZPi2zbGfe7m74V6Mot/KDOz26BRX wRiUk1L5oH1bYwzKa8jmRD2+D4oEyb2j398PpEbZB66FVAjB68uWdrE5Y4NbBIGEHZtJ cjZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fW4KRIYUMRVsD5UctMtgx/S9KUAXGGFHwiF8ujkNxLM=; b=FMokZyzjKkPCpd/TmUFiPoZIu6ijB4qCSOt3Z2x+YfR0h/CycG8ooA9IzRy9UpTdU+ /MuJZbrrjUlptgaVFIz8R5ab7QdlePuaSP+WvjNrxn8MGpbOH+gN3E23qh9jkPTnJqvv /1R6rZ+Gt53zvFJbn8s7jKZT0KYSDjWlA3hifigS2mzoh6eFvzkqv3VzASEVeVUEEabZ /2kYy11VcBtFQKmCI6vxUnMZDrlJ3km7I1EumHQRWK7TVBOlJnfljlvAsXQZJbaiFqLy ZqgLRxoSzzF4EjotJk3HcmtUUvp36MTzf9OxZ6JStzOu29SO2PmuOV/lE/jpj/P6GGyP mEAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aafNNnNg; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o20-20020a17090aac1400b00240e633e032si8029477pjq.8.2023.05.06.00.59.17; Sat, 06 May 2023 00:59:29 -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=@linaro.org header.s=google header.b=aafNNnNg; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbjEFHnF (ORCPT + 99 others); Sat, 6 May 2023 03:43:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231232AbjEFHnD (ORCPT ); Sat, 6 May 2023 03:43:03 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 883B9E46 for ; Sat, 6 May 2023 00:43:02 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f19afc4fd8so16941275e9.2 for ; Sat, 06 May 2023 00:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683358981; x=1685950981; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fW4KRIYUMRVsD5UctMtgx/S9KUAXGGFHwiF8ujkNxLM=; b=aafNNnNg3WETWSnrpa2zXFujk6MCMhxzi/+xAHoyg6PlXfPHNnnc0gYXK2171mT2cz 5DsjTcEWGKhu7nVn23M8T8V/3vrb5F6Z5ZzESgcJxBkaSkxzO31v1wflW4qXVyeU3xak Go1j3XCxgmdqoSWWYk9LKCWVXxFtIPTtEuiwEczJqW6tByz9BOE/LMGZSpeSbWMROq9u XOkGZOtOW0z42kvPgsARNjFixrDfmNZ49QVP/deCXzfuHQFJn1zIj8p6nF0/MHOrmNHS H/OPnpdlLOguj4ZAiNERbzwIsDYBzEI0CCmBELYwuW+7ZYBBTvwC+xdzZ6WHMjpPsbuO juCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683358981; x=1685950981; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fW4KRIYUMRVsD5UctMtgx/S9KUAXGGFHwiF8ujkNxLM=; b=CQdhi2rpQj1DWAVEoG3EvgDgVdXDw+ulaJdVxCXjksZKEjohOPJW1h5ohT31FSXckq 5Kz+PAMukLSqyrb2mrsrGDKBQEqg2MGMpq/ooYo/XWdBBxmsuw9hWJAEsozOYhrckYat gQCTtIZI319+44kZ/GyAqK+8JCunA7FNTLfWc3j0kieJdkNOZTOSM7AGm44Y4kHJBWk5 6Q1SUxhz60s6f92gId38JWCU2Jn5Q58XQONeAYzSe+ChNX1MKu7pARWSFv0ENh8676RF G1gng6fyznCL6L/FvuBiUAUZjSXwV9n94yFow9t/qPTjJLl2jX+ezZYnTR3MmTNJTq/l zbqg== X-Gm-Message-State: AC+VfDx3s8DYegt+kBM0PH8X21bieWIlHpwdXmp3RryWX2zPvvKMU+it 4zyhH/8hamMAd0XzIFmbJ3DRzQ== X-Received: by 2002:a05:6000:c:b0:306:32fa:6737 with SMTP id h12-20020a056000000c00b0030632fa6737mr2892704wrx.8.1683358981048; Sat, 06 May 2023 00:43:01 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id o17-20020a5d4091000000b003078a3f3a24sm702366wrp.114.2023.05.06.00.42.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 May 2023 00:43:00 -0700 (PDT) Message-ID: <4823a770-f3c4-695f-5699-4c8d8179b507@linaro.org> Date: Sat, 6 May 2023 08:42:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 1/3] ALSA: pcm: add snd_pcm_add_chmap_ctls_with_prefix Content-Language: en-US To: Takashi Iwai 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 References: <20230505165514.4666-1-srinivas.kandagatla@linaro.org> <20230505165514.4666-2-srinivas.kandagatla@linaro.org> <87ttwqgfxh.wl-tiwai@suse.de> From: Srinivas Kandagatla In-Reply-To: <87ttwqgfxh.wl-tiwai@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 06/05/2023 06:57, Takashi Iwai wrote: > 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? Thanks for the inputs, this is only issue with my local changes, Sorry for the noise, Please ignore this series. I had some local changes to debug an issue around pcm device numbering with backend dailinks from device tree and frontend dailinks from tplg. Will start a new thread to discuss this issue. thanks, srini > > > Takashi