lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dbb25f4c-7198-ef28-ec6a-9ac5676122b6@linaro.org>
Date:   Fri, 11 Oct 2019 13:30:19 +0100
From:   Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To:     Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
        Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc:     devicetree@...r.kernel.org, alsa-devel@...a-project.org,
        bgoswami@...eaurora.org, linux-kernel@...r.kernel.org,
        plai@...eaurora.org, robh+dt@...nel.org, lgirdwood@...il.com,
        Vinod Koul <vkoul@...nel.org>, Mark Brown <broonie@...nel.org>,
        spapothi@...eaurora.org
Subject: Re: [alsa-devel] [PATCH v2 3/5] ASoC: core: add support to
 snd_soc_dai_get_sdw_stream()



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 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ