[alsa-devel] ASoC suspend resume question

Ben Zhang benzh at chromium.org
Wed May 13 04:08:13 CEST 2015


Hi Mark,

I have a question about the design of ASoC suspend/resume path. Who
should call snd_soc_suspend() and snd_soc_resume()?

They are part of the soc-audio driver's dev_pm_ops, but some ASoC
platform drivers also calls them. For example,

hsw_pcm_prepare() in sound/soc/intel/haswell/sst-haswell-pcm.c
sst_soc_prepare() in sound/soc/intel/atom/sst-mfld-platform-pcm.c

Thanks,
Ben


More information about the Alsa-devel mailing list