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

Lars-Peter Clausen lars at metafoo.de
Fri Apr 29 00:58:30 CEST 2011

On 04/29/2011 12:48 AM, Mark Brown wrote:
> On Fri, Apr 29, 2011 at 12:34:11AM +0200, Lars-Peter Clausen wrote:
>  ...
>> Currently we get the codec from the widget for which the update is run and not
>> from the dapm context anyway.
> That's just a redundancy in the data structure; the codec and context
> are just two different ways of getting to the same thing.

Yes, but the widget has a pointer to the dapm context as well. So we can get
the context from the widget and don't have to pass it separately. Or will there
be non-widget related updates, which ought to be done in the middle of the
powering sequence, in the foreseeable future?

- Lars

More information about the Alsa-devel mailing list