All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Daniel Mack <zonque@gmail.com>,
	linux-omap@vger.kernel.org, joelf@ti.com, gururaja.hebbar@ti.com,
	balajitk@ti.com
Cc: nsekhar@ti.com, s.neumann@raumfeld.com,
	linux-arm-kernel@lists.infradead.org, Russ.Dill@ti.com
Subject: Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks
Date: Thu, 7 Nov 2013 09:34:31 -0600	[thread overview]
Message-ID: <527BB307.7090401@ti.com> (raw)
In-Reply-To: <1383164468-4610-1-git-send-email-zonque@gmail.com>

On 10/30/2013 03:21 PM, Daniel Mack wrote:
[...]
> diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c
> index 8e1a024..f15cdb9 100644
> --- a/arch/arm/common/edma.c
> +++ b/arch/arm/common/edma.c

[...]

> +static int edma_pm_suspend(struct device *dev)
> +{
> +	int j;
> +
> +	pm_runtime_get_sync(dev);
> +
error checks?
> +	for (j = 0; j < arch_num_cc; j++) {
> +		struct edma *ecc = edma_cc[j];
> +
> +		disable_irq(ecc->irq_res_start);
> +		disable_irq(ecc->irq_res_end);
> +	}
> +
> +	pm_runtime_put_sync(dev);
> +
> +	return 0;
> +}
> +
> +static int edma_pm_resume(struct device *dev)
> +{
> +	int i, j;
> +
> +	pm_runtime_get_sync(dev);
error checks?

[...]


-- 
Regards,
Nishanth Menon

WARNING: multiple messages have this Message-ID (diff)
From: nm@ti.com (Nishanth Menon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks
Date: Thu, 7 Nov 2013 09:34:31 -0600	[thread overview]
Message-ID: <527BB307.7090401@ti.com> (raw)
In-Reply-To: <1383164468-4610-1-git-send-email-zonque@gmail.com>

On 10/30/2013 03:21 PM, Daniel Mack wrote:
[...]
> diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c
> index 8e1a024..f15cdb9 100644
> --- a/arch/arm/common/edma.c
> +++ b/arch/arm/common/edma.c

[...]

> +static int edma_pm_suspend(struct device *dev)
> +{
> +	int j;
> +
> +	pm_runtime_get_sync(dev);
> +
error checks?
> +	for (j = 0; j < arch_num_cc; j++) {
> +		struct edma *ecc = edma_cc[j];
> +
> +		disable_irq(ecc->irq_res_start);
> +		disable_irq(ecc->irq_res_end);
> +	}
> +
> +	pm_runtime_put_sync(dev);
> +
> +	return 0;
> +}
> +
> +static int edma_pm_resume(struct device *dev)
> +{
> +	int i, j;
> +
> +	pm_runtime_get_sync(dev);
error checks?

[...]


-- 
Regards,
Nishanth Menon

  parent reply	other threads:[~2013-11-07 15:34 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 20:21 [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks Daniel Mack
2013-10-30 20:21 ` Daniel Mack
2013-10-31 22:25 ` Vaibhav Bedia
2013-10-31 22:25   ` Vaibhav Bedia
2013-11-06 17:36   ` Joel Fernandes
2013-11-06 17:36     ` Joel Fernandes
2013-11-07 13:30     ` Gururaja Hebbar
2013-11-07 13:30       ` Gururaja Hebbar
2013-11-07 13:32       ` Daniel Mack
2013-11-07 13:32         ` Daniel Mack
2013-11-07 15:18         ` Nishanth Menon
2013-11-07 15:18           ` Nishanth Menon
2013-11-07 15:36           ` Daniel Mack
2013-11-07 15:36             ` Daniel Mack
2013-11-07 15:48             ` Nishanth Menon
2013-11-07 15:48               ` Nishanth Menon
2013-11-07 20:42               ` Vaibhav Bedia
2013-11-07 20:42                 ` Vaibhav Bedia
2013-11-15 14:39                 ` Nishanth Menon
2013-11-15 14:39                   ` Nishanth Menon
2013-11-17 22:09                   ` Daniel Mack
2013-11-17 22:09                     ` Daniel Mack
2013-11-07 20:34     ` Vaibhav Bedia
2013-11-07 20:34       ` Vaibhav Bedia
2013-11-07 15:34 ` Nishanth Menon [this message]
2013-11-07 15:34   ` Nishanth Menon
2013-11-07 16:27   ` Grygorii Strashko
2013-11-07 16:27     ` Grygorii Strashko
2013-11-07 20:46     ` Vaibhav Bedia
2013-11-07 20:46       ` Vaibhav Bedia
2013-11-07 16:34 ` Joel Fernandes
2013-11-07 16:34   ` Joel Fernandes
2013-11-07 16:49   ` Joel Fernandes
2013-11-07 16:49     ` Joel Fernandes
2013-11-07 17:37   ` Daniel Mack
2013-11-07 17:37     ` Daniel Mack
2013-11-07 21:39     ` Joel Fernandes
2013-11-07 21:39       ` Joel Fernandes
2013-11-08  4:07     ` Gururaja Hebbar
2013-11-08  4:07       ` Gururaja Hebbar
2013-11-08  7:51       ` Daniel Mack
2013-11-08  7:51         ` Daniel Mack

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=527BB307.7090401@ti.com \
    --to=nm@ti.com \
    --cc=Russ.Dill@ti.com \
    --cc=balajitk@ti.com \
    --cc=gururaja.hebbar@ti.com \
    --cc=joelf@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=s.neumann@raumfeld.com \
    --cc=zonque@gmail.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.