[alsa-devel] why snd_soc_suspend is not called

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jun 19 11:30:00 CEST 2012

On Tue, Jun 19, 2012 at 01:12:05PM +0800, zhangfei gao wrote:

> In fact, even soc_probe is not called since no soc-audio device.

This is only called for soc-audio, if it were called otherwise it would
be abug.

> When running, system recommend using snd_soc_register_card instead.
> After doing such modification, the audio could work.
> But strangely snd_soc_suspend is not called, as well as soc-probe.
> So cpu_dai->driver->suspend will no be called accordingly.

> If manually add "soc-audio" in arch/, the soc-probe can be called.
> But snd_soc_suspend still fail to be called.

> Could you give me some suggestion?

There is probably a bug in your code.  At a guess you've not set up the
pm ops for your card.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120619/b7cefc53/attachment.sig 

More information about the Alsa-devel mailing list