Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: alsa-devel@alsa-project.org
Cc: alsa-devel@vger.kernel.org
Subject: Re: why snd_soc_suspend is not called
Date: Tue, 19 Jun 2012 10:30:00 +0100	[thread overview]
Message-ID: <20120619093000.GA3974@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAMj5BkgV9odU+1VwhXx5w0Y8pPdHg25tHWNMX-5ecG_aL+r+cw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 718 bytes --]

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.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2012-06-19  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19  5:12 why snd_soc_suspend is not called zhangfei gao
2012-06-19  5:27 ` zhangfei gao
2012-06-19  5:45 ` zhangfei gao
2012-06-19  9:30 ` Mark Brown [this message]
2012-06-21  2:47   ` zhangfei gao
2012-06-21  9:12     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120619093000.GA3974@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox