Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp853928ybp; Fri, 11 Oct 2019 05:31:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx/plDf6CKJ2jlwAWU8EgZGr9cA/fGUW7JkdfSQlUP03qlmceBTvdvQfo3ysP/JH9hXA1I X-Received: by 2002:aa7:d842:: with SMTP id f2mr13334011eds.27.1570797078376; Fri, 11 Oct 2019 05:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570797078; cv=none; d=google.com; s=arc-20160816; b=OOta+Htama1h/g9aHTNZ7i0TPsC0UbF2ovcPjCVqnagXB3RXVC5vhbiZXgMWErcuPj Sxu310KGam8ubI6EC+p8suHo7b+VdzTBz/+ob+42hkb1RV5oo3bWKLE3HJj8PccW47Jo 0RUCHyPZhXRewFnfUoWMPUwir5Ky9JKQ/ecURGr+3N/HFkFcxFEmMBRuczwXy7AoL5ZP b9AZujI+xg8H7mZjm6tPDg8LXAqmqzlNc7nTTrC18JgRwytgrt4CKcQdps1Q9CTen5co 3Xnp3Iez4KYLIYmLX4EL1ZTMt45Foei7tt2G7erg7vQGom62sn+MXK6CvlnPvo5JjIRj sA4g== 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:dkim-signature; bh=eUAVKWO5tGOGok/vKm5I9Fla/1z4P3pvPIySfc1WbLY=; b=Tny6ysxvml7FJFqT2D5C9BYvbp9FXss8LLZMbAIvEyPA81o+RNH7IP4cyKtBcD+YYl 0U8NGDuEPHepsEBXZohVhLc4ocFYi0L/rxvQT8DbGUsXY0cVx0C6QxEAcRx/BpqbU9LT 6OtebddeS+vYwqJpYuts25+xRlVIULXld7rRLeiNuEZv5PMQPqFkIP6uetoBmWLK4SIl sm2coc0iJU1Q4dx6xxzECBrXwqVbKvHb/387los4vmOvGJ0Sqfk53eoJCzAcMkn46ARr P3/WpZXjYSnzRonSt59vCAbwRbL6rR9mETzD/zt7Ykplo5+tEuFO1OHpgQgbJrLk96mh JesA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RNtV53yj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q24si5281834ejr.128.2019.10.11.05.30.54; Fri, 11 Oct 2019 05:31: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; dkim=pass header.i=@linaro.org header.s=google header.b=RNtV53yj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727907AbfJKMaY (ORCPT + 99 others); Fri, 11 Oct 2019 08:30:24 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37348 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727672AbfJKMaY (ORCPT ); Fri, 11 Oct 2019 08:30:24 -0400 Received: by mail-wr1-f67.google.com with SMTP id p14so11724703wro.4 for ; Fri, 11 Oct 2019 05:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eUAVKWO5tGOGok/vKm5I9Fla/1z4P3pvPIySfc1WbLY=; b=RNtV53yjZdIOhcHzhhnYIbDQbJJ7VLlvGAzwvvD7Iz76cQbWeEsAAgKU1UR+xBYFbD lTQhpVC6KvASGkVqJcSNfXZ/GTqhbSdUv8IG0CQGmGNDckpp6soaH5cLty0VtOsEsyfW bs5sbmKzARNsPY/zhYADlpWpebgW5RjvmCEwfBToNFd+nDMpLYY92kmn+8tnJTWP1HsO 9BtBLlg5UjgSUmztX1EnqGaORzA7BZSjQYHtLB6/ec9ZaWSFwbAdmhjHwMFoc0acGGvq BmJqKwLrbeoLV3+S6GDB4j/73HchdsOTO6JU/1xHhUl5XUkjmyf0qOTNi8UQA/IDUEiv j2Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eUAVKWO5tGOGok/vKm5I9Fla/1z4P3pvPIySfc1WbLY=; b=A7Lah2nc7H92e9Dp8CoIj6JfwAki4PFPe6lyQAjdsn65DiDA7JPjy0dX6qG1893CUJ HHO4eKn/x4XizuBR5tzzwePaWcyMrpmV2qu/RURPjbJTTmBlEVlozm7tWsrwqikN4dQc VUVULF9PGesLVPqQ7SySGtgfjo3JMJQ310MKU9gd1jy5sW6yciJB2SLor0GvY83LN//Z ysdj2KTFe0B2In6rMfsO3CqQSU9iaMzVR1vrn85mfrgwgdSqnu1mlg/j29i57YTuJvdz tzNqt/xw64vWB22vB6KsHfFY/9cXhbz+qb6hciEwVc0/uM0RdBFsFX9cTJog8zzxLsDd mfKQ== X-Gm-Message-State: APjAAAW0IkIDVKlTDR4HRf/Z1Dsqn/96Y6r/Z+0S7YtgBlKWxRwjnCit ufW8Rjx33iFcXcy4KicdnUDsqQ== X-Received: by 2002:adf:f4c2:: with SMTP id h2mr13353630wrp.69.1570797021729; Fri, 11 Oct 2019 05:30:21 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id t123sm14523710wma.40.2019.10.11.05.30.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2019 05:30:20 -0700 (PDT) Subject: Re: [alsa-devel] [PATCH v2 3/5] ASoC: core: add support to snd_soc_dai_get_sdw_stream() To: Pierre-Louis Bossart , 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: Srinivas Kandagatla Message-ID: Date: Fri, 11 Oct 2019 13:30:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/2019 16:49, Pierre-Louis Bossart wrote: > > >> 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. > Thanks Pierre for the inputs. Am using Documentation/devicetree/bindings/sound/name-prefix.txt for dt and it works! I will send new set of patches by dropping this patch! --srini > > 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 >