All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: pl bossart <bossart.nospam@gmail.com>
Cc: alsa-devel@alsa-project.org, lrg@slimlogic.co.uk
Subject: Re: UCM questions
Date: Sun, 23 Jan 2011 00:41:29 +0000	[thread overview]
Message-ID: <20110123004129.GB22878@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <AANLkTim_Q=oTfHS33R2hf6B3gC1Dj2fpiCAjfa7kJFw7@mail.gmail.com>

On Fri, Jan 21, 2011 at 02:53:30PM -0600, pl bossart wrote:

In addition to what Liam said...

> Next, if everyone can add #defines and craft new strings to represent
> verbs, this central application/module will either ask for use cases
> that are not supported everywhere, or limit itself to 'common' use
> cases. Or do we expect to rewrite this on each and every platform?

Given the amount of OS integration involved and the way people do these
things I'd imagine that the actual decision making module is probably
going to be very OS specific - there's so much other infrastructure to
hook into and so much variation in what that looks like that we will
need to cope with random use cases being defined by the system.  Making
the values strings was largely a recognition of that, it means that
people don't need to patch UCM if they want to go and do their own
thing.  This all makes it easier to adopt UCM and deploy new use cases.

> Wouldn't it make sense to avoid branches and proliferation by limiting
> the definition of use cases and instead only allow for changes in
> configuration files?

I'm not 100% sure I'm parsing this correctly but if you're suggesting
explicitly enumerating all use cases in the code I suspect you'd just
see system integrators patching locally or abusing predefined use cases
they don't currently need rather than working upstream to integrate
their use cases.  Distros and so on who need to work over a wide range
of devices are more likely to be affected, I think the most effective
thing for them is going to be to keep the standard repository of use
case definitions actively maintained so that there's something for
effort to coalesce around.

  parent reply	other threads:[~2011-01-23  0:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 22:06 UCM questions pl bossart
2011-01-21 11:37 ` Mark Brown
2011-01-21 15:12   ` pl bossart
2011-01-21 16:43     ` Mark Brown
2011-01-21 20:53       ` pl bossart
2011-01-21 23:37         ` Liam Girdwood
2011-01-22  5:22           ` Raymond Yau
2011-01-23  0:41         ` Mark Brown [this message]
2011-01-23 13:49         ` Jaroslav Kysela
2011-01-21 15:24   ` Liam Girdwood
2011-01-21 21:03     ` pl bossart
2011-01-21 23:37       ` Liam Girdwood
2011-01-23 13:39       ` Jaroslav Kysela
2011-01-24 22:31         ` pl bossart
2011-01-25 12:13           ` Liam Girdwood
2011-01-25 21:58             ` pl bossart

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=20110123004129.GB22878@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bossart.nospam@gmail.com \
    --cc=lrg@slimlogic.co.uk \
    /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.