[alsa-devel] Problem with snd_soc_suspend
broonie at opensource.wolfsonmicro.com
Mon May 14 10:34:31 CEST 2012
On Sun, May 13, 2012 at 11:30:29PM -0700, Patrick Lai wrote:
> that as system attempts to enter suspend while DAILINK X is active,
> snd_soc_suspend() calls snd_soc_dapm_stream_event(
> SND_SOC_DAPM_STREAM_SUSPEND) on inactive DAILINK Y since DAILINK Y
> ignore flag is not set. Consequently, CODEC widgets get powered off
> even though they should remain powered for DAILINK X.
This sounds like expected behaviour, if the widgets aren't marked as
ignoring suspend then they will be suspended.
> 1. Should soc-core check if CODEC DAI is active beside checking
> ignore_suspend flag before calling snd_soc_dapm_stream_event()?
> I checked latest soc-core.c from kernel 3.4 RC7. The logic is the same
> as 3.0
No, the whole point here is to suspend. If we did that we'd never
suspend any active streams.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120514/17463146/attachment.sig
More information about the Alsa-devel