Re: [PATCH] pm_ops: add irq enable/disable hooks

Johannes Berg
2007-04-11T16:39:13Z

[-- Attachment #1.1: Type: text/plain, Size: 533 bytes --]

On Wed, 2007-04-11 at 10:07 -0400, Alan Stern wrote:

> Have you guys considered using a notifier chain for this? The platform
> code could register itself on the chain at boot time. When suspending you
> send out notifications just before and just after disabling interrupts,
> and inversely on resume.

Not really, but I don't see the point. There shouldn't be anything but
the platform using it so why have a chain? And we'd have to register two
things since it's not exactly in the inverse order here.

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]