[alsa-devel] [PATCH] ASoC: core: Don't schedule deferred_resume_work twice

Mark Brown broonie at opensource.wolfsonmicro.com
Thu May 26 16:08:25 CEST 2011


On Wed, May 25, 2011 at 02:06:41PM -0600, Stephen Warren wrote:
> For cards that have two or more DAIs, snd_soc_resume's loop over all
> DAIs ends up calling schedule_work(deferred_resume_work) once per DAI.
> Since this is the same work item each time, the 2nd and subsequent
> calls return 0 (work item already queued), and trigger the dev_err
> message below stating that a work item may have been lost.

Applied, thanks.


More information about the Alsa-devel mailing list