Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2773398ybp; Thu, 10 Oct 2019 12:22:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIvUtjm1DjGUWWePLCqX0dK7rZXYqblAjQwrhITmnlYxnf8f90rEkhFQa37kuFeSGWHyIZ X-Received: by 2002:a05:6402:6c9:: with SMTP id n9mr9493007edy.190.1570735338700; Thu, 10 Oct 2019 12:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570735338; cv=none; d=google.com; s=arc-20160816; b=HHLiw4kGlJ0hXa6q3NWZQ2P1//+4hTvL5xv8g+pN5KuWc7NiGLJFt29NLxEP/xMeH8 SL+M6fZajmCDdAIj557W5A2+m+z2UjzSIiIEhqnx35A2mJKsxjbeddmMJO3/09UDc12R tEAGfimjr8R6x7mitQAEDVrzks7kpUeKsfARqpDdhKtgIFAshf4ovhXOyuVDMI+1sC6W 57oTNuq37lwQrOLsPmgO7zfp9N/5weEO2IY8MAE9D8lXRe405vRt9epMY07hpOYKXyEO ydAjLLA83KarzQqxtTVwbox6ezx/p9L7zBTlhcqsQaGQl2ud+Y+58HD+WZNzXPWQTcnW cRTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Iq8YSB3mlc7gmfxPEEFtCWrnzmaALqgiYqb0rxP3HZg=; b=xkOufw3SyQbmKxNPCUDAGQBv/peAmtFpLd46jfJRDT6Fy2HksM/EatLyXA/6kDZV3f neKFJUiBWua5J0H1wz2py7DhFxj5t/cjY9V2x0hT+sONJmTpOlLXF/cv+xj7D7OHqSv2 mBFb7ppyPOeMW9HB8Z3ESrMnL5he/xe1C7K1KtOiute2I7G5QYTCw94Ro+CoP3lIyadP 51nJ2Xeh3i/Jsp88ISBu6G2jqqNeUEm+BXGqpKsdxVJ5T/w+wYevTgsF2PK+vqQYTl6w KgmumNlNNZLKtaNEZjPjrKvmfOXPvF1oAf3YLiW+uOY6XwzbynoFWGbFMHuoTRxDXkkC NglQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si4309683edb.379.2019.10.10.12.21.54; Thu, 10 Oct 2019 12:22:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbfJJTVl (ORCPT + 99 others); Thu, 10 Oct 2019 15:21:41 -0400 Received: from mga14.intel.com ([192.55.52.115]:35377 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbfJJTVl (ORCPT ); Thu, 10 Oct 2019 15:21:41 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2019 12:21:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,281,1566889200"; d="scan'208";a="206203510" Received: from pchamber-mobl1.amr.corp.intel.com (HELO [10.252.139.48]) ([10.252.139.48]) by orsmga002.jf.intel.com with ESMTP; 10 Oct 2019 12:21:37 -0700 Subject: Re: [alsa-devel] [PATCH v2 3/5] ASoC: core: add support to snd_soc_dai_get_sdw_stream() To: Srinivas Kandagatla , Charles Keepax Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, linux-kernel@vger.kernel.org, plai@codeaurora.org, robh+dt@kernel.org, lgirdwood@gmail.com, Vinod Koul , Mark Brown , spapothi@codeaurora.org References: <20190813191827.GI5093@sirena.co.uk> <20190813195804.GL5093@sirena.co.uk> <20190814041142.GU12733@vkoul-mobl.Dlink> <99d35a9d-cbd8-f0da-4701-92ef650afe5a@linux.intel.com> <5e08f822-3507-6c69-5d83-4ce2a9f5c04f@linaro.org> <53bb3105-8e85-a972-fce8-a7911ae4d461@linux.intel.com> <95870089-25da-11ea-19fd-0504daa98994@linaro.org> <2326a155-332e-fda0-b7a2-b48f348e1911@linux.intel.com> <34e4cde8-f2e5-0943-115a-651d86f87c1a@linaro.org> <20191010120337.GB31391@ediswmail.ad.cirrus.com> <22eff3aa-dfd6-1ee5-8f22-2af492286053@linux.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Thu, 10 Oct 2019 10:49:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I still need to figure out prefixing multiple instances of this > Amplifier controls with "Left" and "Right" FWIW we use the "snd_codec_conf" stuff to add a prefix for each amplifier, so that the controls are not mixed up between instances of the same amp, see e.g. static struct snd_soc_codec_conf codec_conf[] = { { .dev_name = "sdw:0:25d:711:0:1", .name_prefix = "rt711", }, { .dev_name = "sdw:1:25d:1308:0:0", .name_prefix = "rt1308-1", }, { .dev_name = "sdw:2:25d:1308:0:2", .name_prefix = "rt1308-2", }, { .dev_name = "sdw:3:25d:715:0:1", .name_prefix = "rt715", }, }; https://github.com/thesofproject/linux/pull/1142/commits/9ff9cf9d8994333df2250641c95431261bc66d69#diff-892560f80d603420baec7395e0b45d81R212