[alsa-devel] [PATCH 2/7] ASoC: DAPM: Pass snd_dapm_soc_update as parameter

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Apr 29 00:23:15 CEST 2011


On Thu, Apr 28, 2011 at 11:18:00PM +0100, Mark Brown wrote:
> On Fri, Apr 29, 2011 at 12:04:04AM +0200, Lars-Peter Clausen wrote:
> > On 04/28/2011 11:48 PM, Mark Brown wrote:

> > > Moving to the card doesn't seem helpful, while we're currently doing one
> > > update at once it's not immediately obvious that we want to keep doing
> > > that indefinitely.

> > But keeping it in the dapm context would limit us to one update per context
> > which doesn't seem very sustainable either.

> Though for global state changes like this that's pretty much irrelevant
> as we need to walk the entire graph at once.

BTW, this means that my above comment was too hasty; I can't actually
see a situation where we'd ever want to have multiple updates in flight.
Though I also don't immediately see a need to move as the update gets
applied to a specific context anyway and it seems nicer to just stop
using the stream events for anything other than the integration with the
CPU DMA.


More information about the Alsa-devel mailing list