From: Vinod Koul <vinod.koul@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, subhransu.s.prusty@intel.com,
lgirdwood@gmail.com
Subject: Re: [PATCH 2/3] ASoC: Intel: sst: add runtime power management handling
Date: Fri, 31 Oct 2014 11:14:31 +0530 [thread overview]
Message-ID: <20141031054430.GH28745@intel.com> (raw)
In-Reply-To: <20141030180609.GG18557@sirena.org.uk>
[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]
On Thu, Oct 30, 2014 at 06:06:09PM +0000, Mark Brown wrote:
> On Thu, Oct 30, 2014 at 10:38:55AM +0530, Vinod Koul wrote:
>
> > + ret = sst_prepare_and_post_msg(sst, SST_TASK_ID_MEDIA, IPC_CMD,
> > + IPC_PREP_D3, PIPE_RSVD, 0, NULL, NULL,
> > + true, true, false, true);
> > +
> > + if (ret < 0) {
> > + dev_err(sst->dev, "not suspending FW!!!");
> > + return -EIO;
>
> Better to print and pass back the actual error code we got.
OK
>
> > + dev_info(dev, "runtime_suspend called\n");
> > + if (ctx->sst_state == SST_RESET) {
>
> Drop this down to a dev_dbg() or remove it please (and some others later
> on).
Oh yes, did remove some will celanup others
>
> > + dev_dbg(dev, "LPE is already in RESET state, No action");
>
> Missing \n.
>
> > + return 0;
> > + }
> > + /*save fw context*/
>
> /* Upstream comment style please */
Sure will check these
Thanks
--
~Vinod
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2014-10-31 6:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 5:08 [PATCH 0/3] ASoC: Intel: add runtime power management support Vinod Koul
2014-10-30 5:08 ` [PATCH 1/3] ASoC: Intel: mrfld: Fix runtime pm calls in sst_open_pcm_stream Vinod Koul
2014-10-31 12:30 ` Mark Brown
2014-10-30 5:08 ` [PATCH 2/3] ASoC: Intel: sst: add runtime power management handling Vinod Koul
2014-10-30 18:06 ` Mark Brown
2014-10-31 5:44 ` Vinod Koul [this message]
2014-10-30 5:08 ` [PATCH 3/3] Audio: SST: use lock when changing SST state Vinod Koul
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=20141031054430.GH28745@intel.com \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=subhransu.s.prusty@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.