public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh_cmt: use remove_irq() and remove clockevent workaround
Date: Thu, 02 Apr 2009 03:44:51 +0000	[thread overview]
Message-ID: <20090402034451.GA11576@linux-sh.org> (raw)
In-Reply-To: <20090401141107.32445.63752.sendpatchset@rx1.opensource.se>

On Wed, Apr 01, 2009 at 11:11:07PM +0900, Magnus Damm wrote:
> Update the sh_cmt driver to make use of recent irq and clockevent changes:
>  - use remove_irq() together with setup_irq()
>  - remove mult workaround since WARN_ON() now has been moved

On Wed, Apr 01, 2009 at 11:20:58PM +0900, Magnus Damm wrote:
> Modify the intc code to install a disable callback. The current
> solution without a disable callback results in use of the
> generic default_disable() function. This function is a no-op
> so suspend_device_irqs() will not disable any intc interrupts
> at suspend time without this patch. Also, install enable and
> shutdown callbacks while at it.

On Wed, Apr 01, 2009 at 11:30:59PM +0900, Magnus Damm wrote:
> Add set_irq_wake() support to intc using sysdev and suspend.
> 
> The intc controllers are put on a list at registration time
> and registered as sysdev devices later on during the boot.
> 
> The sysdev class suspend callback is used to find irqs with
> wakeup enabled belonging to our intc controller. Such irqs
> are simply enabled so wakeup interrupts may reach the cpu.

On Wed, Apr 01, 2009 at 11:39:20PM +0900, Magnus Damm wrote:
> Modify the sh_keysc driver to use enable/disable_irq_wake()
> during suspend and resume. These functions are used to enable
> the sh_keysc interrupt in the interrupt controller so the
> keypad can be used to wakeup the system from suspend.

On Wed, Apr 01, 2009 at 11:45:17PM +0900, Magnus Damm wrote:
> Modify the sh_rtc driver to use set_irq_wake() during suspend
> and resume. These functions are used to enable the rtc interrupts
> in the interrupt controller so the rtc can be used to wakeup the
> system from suspend.

On Wed, Apr 01, 2009 at 11:49:41PM +0900, Magnus Damm wrote:
> Add wakeup support to the migor_ts driver. If user space has enabled
> wakeup, use set_irq_wake() during suspend and resume. With this patch
> the migor_ts driver can be used to wake the system from suspend.

All applied, thanks.

      reply	other threads:[~2009-04-02  3:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 14:11 [PATCH] sh_cmt: use remove_irq() and remove clockevent workaround Magnus Damm
2009-04-02  3:44 ` Paul Mundt [this message]

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=20090402034451.GA11576@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@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