From: Liam Girdwood <lrg@ti.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Stephen Warren <swarren@nvidia.com>
Subject: Re: UCM representation questions
Date: Fri, 27 May 2011 10:20:23 +0100 [thread overview]
Message-ID: <4DDF6CD7.2070903@ti.com> (raw)
In-Reply-To: <20110527013153.GA21016@opensource.wolfsonmicro.com>
On 27/05/11 02:31, Mark Brown wrote:
> On Thu, May 26, 2011 at 10:13:21AM -0700, Stephen Warren wrote:
>
>> My thought process here was that conflicting devices are probably less
>> common than non-conflicting devices. At least, it seems like that'd be
>> the default assumption of someone writing a UCM file. So, if we list
>> ConflictingDevice(s), then that would often map to an empty list, and
>> you could eliminate the section. If we had to list all compatible
>> devices, by default you'd have to list every device in the UCM verb in
>> almost all cases. That seems like more work.
>
>> Plus, adding an optional ConflictingDevice list maintains backwards
>> Compatibility with any existing UCM files, whereas adding a mandatory
>> SupportedDevice list doesn't.
>
> I tend to agree with this - the usual case is that you can have as many
> devices as you like running, the reason for restricting things is more
> normally usefulness rather than physical possibility.
>
>> I wonder if allowing all lists of devices to be either inclusive
>> SupportedDevice or exclusive ConflictingDevice makes sense, with the
>> default being ConflictingDevice being empty, and SupportedDevice being
>> the entire set of devices? Seems more complex, but probably still
>> workable.
>
> That makes sense too - if either directive is used we require an
> explicit list, otherwise we assume everything is compatible.
Ok, sounds fine to me too. I just wanted to make sure we had explored both options here.
Thanks
Liam
prev parent reply other threads:[~2011-05-27 9:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 21:48 UCM representation questions Stephen Warren
2011-05-21 16:20 ` Liam Girdwood
2011-05-25 22:38 ` Stephen Warren
2011-05-26 11:02 ` Liam Girdwood
2011-05-26 17:13 ` Stephen Warren
2011-05-27 1:31 ` Mark Brown
2011-05-27 9:20 ` 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=4DDF6CD7.2070903@ti.com \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=swarren@nvidia.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).