3 Jun
2013
3 Jun
'13
10:46 p.m.
On Mon, Jun 03, 2013 at 09:16:36PM +0200, Lars-Peter Clausen wrote:
I think it is just an oversight that this is not working properly right now. In snd_soc_suspend() where we also stop the DMA streams etc the DAI link widgets are put into suspend, by calling snd_soc_dapm_stream_event(..., SND_SOC_DAPM_STREAM_SUSPEND). But dapm_dai_check_power() doesn't consider this and hence stays active and also keeps the whole DAPM context (this is not CODEC specific) active.
It's clearly an oversight but I don't think this is a joined up fix for it.