13 May
2015
13 May
'15
4:08 a.m.
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