From: Liam Girdwood <lrg@ti.com>
To: Stephen Warren <swarren@nvidia.com>
Cc: "tiwai@suse.de" <tiwai@suse.de>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 1/5] UCM: Deprecate index on Section{Device, Modifier}
Date: Mon, 6 Jun 2011 10:48:14 +0100 [thread overview]
Message-ID: <4DECA25E.3090601@ti.com> (raw)
In-Reply-To: <1307134594-32176-1-git-send-email-swarren@nvidia.com>
On 03/06/11 21:56, Stephen Warren wrote:
> The previous supported "legacy" syntax was:
>
> SectionDevice."Speaker".0 {
> SectionModifier."Capture Voice".0 {
>
> This change supports new syntax:
>
> SectionDevice."Speaker" {
> SectionModifier."Capture Voice" {
>
> ... but also allows the old syntax, iff the index is exactly "0". If an
> index is present, but not exactly "0", parsing will appear to succeed,
> but produce an empty device or modifier.
>
> When naming devices and modifiers, even if the legacy format is used,
> any index is not included in the name; i.e. both sets of syntax above
> name the device just "Speaker".
>
> The SupportedDevice list syntax still also accepts either "x" or "x.0",
> but internally strips ".0" from the tail of any device name. Any other
> name including "." is disallowed.
>
> Finally, when comparing device or modifier names, a simple exact string
> compare is now used, since no index data is ever present in device or
> modifier names.
>
> The one functional change introduced here is that a SupportedDevice
> entry of just "x" will now only ever match a single device. It previously
> acted as a wildcard for any device named "x.foo".
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
All
Acked-by: Liam Girdwood <lrg@ti.com>
prev parent reply other threads:[~2011-06-06 9:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 20:56 [PATCH 1/5] UCM: Deprecate index on Section{Device, Modifier} Stephen Warren
2011-06-03 20:56 ` [PATCH 2/5] UCM: Implement ConflictingDevices, add device list to devices Stephen Warren
2011-06-03 20:56 ` [PATCH 3/5] UCM: Disallow gets of undefined system properties Stephen Warren
2011-06-03 20:56 ` [PATCH 4/5] UCM: Allow querying of {Supported, Conflicting}Devices Stephen Warren
2011-06-03 20:56 ` [PATCH 5/5] UCM: snd_use_case_get: Don't segfault when no current verb Stephen Warren
2011-06-06 9:48 ` Liam Girdwood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DECA25E.3090601@ti.com \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=swarren@nvidia.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.