From: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
To: Vinod Koul <vinod.koul@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linus WALLEIJ <linus.walleij@stericsson.com>,
Rabin VINCENT <rabin.vincent@stericsson.com>
Subject: Re: [PATCH] dmaengine/ste_dma40: support pm in dma40
Date: Thu, 17 Nov 2011 12:10:02 +0530 [thread overview]
Message-ID: <20111117064001.GA17619@bnru01> (raw)
In-Reply-To: <1321507432.1516.176.camel@vkoul-udesk3>
On Thu, Nov 17, 2011 at 06:23:52 +0100, Vinod Koul wrote:
> runtime pm manages the device power management. It will call your
> suspend/resume callbacks when your device is idle/active and manages the
> device usage for you.
> Within your device you need to do your own management, which should be
> linked to channel being active. You should not club the two.
>
> I am not sure if the clock framework can help you on this
Instead of switching on and off eventlines very frequently, I'll
do it in the runtime_suspend() and runtime_resume(), so that it
looks more neat and can get away with these usage counters.
I will re-work and submit a new version of this patch.
~Narayanan
next prev parent reply other threads:[~2011-11-17 6:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 6:30 [PATCH] dmaengine/ste_dma40: support pm in dma40 Narayanan G
2011-11-16 7:06 ` Narayanan G
2011-11-16 11:07 ` Vinod Koul
2011-11-17 5:04 ` Narayanan G
2011-11-17 5:23 ` Vinod Koul
2011-11-17 6:40 ` Narayanan G [this message]
2011-11-17 8:31 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2011-11-09 4:36 Narayanan G
2011-11-10 9:56 ` 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=20111117064001.GA17619@bnru01 \
--to=narayanan.gopalakrishnan@stericsson.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rabin.vincent@stericsson.com \
--cc=vinod.koul@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox