All of lore.kernel.org
 help / color / mirror / Atom feed
From: deepak.sikri@st.com (deepaksi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dmaengine/dw_dmac: Hibernation support in dw_dmac
Date: Wed, 11 Jan 2012 11:55:57 +0530	[thread overview]
Message-ID: <4F0D2B75.7000800@st.com> (raw)
In-Reply-To: <1326262989-18608-1-git-send-email-rajeev-dlh.kumar@st.com>

On 1/11/2012 11:53 AM, Rajeev KUMAR wrote:
> The suspend and resume implementation is through dev_pm_ops in dmac. So
> in order to support hibernation, freeze, thaw and restore features are required.
>
> Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
> ---
>  drivers/dma/dw_dmac.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
> index d2e1c25..cb346d6 100644
> --- a/drivers/dma/dw_dmac.c
> +++ b/drivers/dma/dw_dmac.c
> @@ -1568,6 +1568,9 @@ static int dw_resume_noirq(struct device *dev)
>  static const struct dev_pm_ops dw_dev_pm_ops = {
>  	.suspend_noirq = dw_suspend_noirq,
>  	.resume_noirq = dw_resume_noirq,
> +	.freeze_noirq = dw_suspend_noirq,
> +	.thaw_noirq =	dw_resume_noirq,
> +	.restore_noirq = dw_resume_noirq,
>  };
>  
>   
Spacing and tab issue ..Please check at 

thaw_noirq


>  static struct platform_driver dw_driver = {
>   

WARNING: multiple messages have this Message-ID (diff)
From: deepaksi <deepak.sikri@st.com>
To: Rajeev KUMAR <rajeev-dlh.kumar@st.com>
Cc: Viresh KUMAR <viresh.kumar@st.com>,
	"linus.walleij@linaro.org" <linus.walleij@linaro.org>,
	Mirko GARDI <mirko.gardi@st.com>,
	Bhupesh SHARMA <bhupesh.sharma@st.com>,
	Shiraz HASHIM <shiraz.hashim@st.com>,
	Vipin KUMAR <vipin.kumar@st.com>,
	Vipul Kumar SAMAR <vipulkumar.samar@st.com>,
	Pratyush ANAND <pratyush.anand@st.com>,
	Armando VISCONTI <armando.visconti@st.com>,
	"vinod.koul@intel.com" <vinod.koul@intel.com>,
	"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>
Subject: Re: [PATCH] dmaengine/dw_dmac: Hibernation support in dw_dmac
Date: Wed, 11 Jan 2012 11:55:57 +0530	[thread overview]
Message-ID: <4F0D2B75.7000800@st.com> (raw)
In-Reply-To: <1326262989-18608-1-git-send-email-rajeev-dlh.kumar@st.com>

On 1/11/2012 11:53 AM, Rajeev KUMAR wrote:
> The suspend and resume implementation is through dev_pm_ops in dmac. So
> in order to support hibernation, freeze, thaw and restore features are required.
>
> Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
> ---
>  drivers/dma/dw_dmac.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
> index d2e1c25..cb346d6 100644
> --- a/drivers/dma/dw_dmac.c
> +++ b/drivers/dma/dw_dmac.c
> @@ -1568,6 +1568,9 @@ static int dw_resume_noirq(struct device *dev)
>  static const struct dev_pm_ops dw_dev_pm_ops = {
>  	.suspend_noirq = dw_suspend_noirq,
>  	.resume_noirq = dw_resume_noirq,
> +	.freeze_noirq = dw_suspend_noirq,
> +	.thaw_noirq =	dw_resume_noirq,
> +	.restore_noirq = dw_resume_noirq,
>  };
>  
>   
Spacing and tab issue ..Please check at 

thaw_noirq


>  static struct platform_driver dw_driver = {
>   


  reply	other threads:[~2012-01-11  6:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  6:23 [PATCH] dmaengine/dw_dmac: Hibernation support in dw_dmac Rajeev Kumar
2012-01-11  6:23 ` Rajeev Kumar
2012-01-11  6:25 ` deepaksi [this message]
2012-01-11  6:25   ` deepaksi
2012-01-11  6:50   ` Viresh Kumar
2012-01-11  6:50     ` Viresh Kumar
2012-01-11  6:55     ` Rajeev kumar
2012-01-11  6:55       ` Rajeev kumar

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=4F0D2B75.7000800@st.com \
    --to=deepak.sikri@st.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.