[PATCH] pcmcia: at91_cf suspend/resume/wakeup
authorDavid Brownell <david-b@pacbell.net>
Wed, 19 Apr 2006 13:37:48 +0000 (06:37 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Fri, 30 Jun 2006 20:09:12 +0000 (22:09 +0200)
commit0db6095d4ff8918350797dfe299d572980e82fa0
tree72d42bc165a382fe82a279222efc1c5c4cb7addb
parent5040cb8b7e61b7a03e8837920b9eb2c839bb1947
[PATCH] pcmcia: at91_cf suspend/resume/wakeup

AT91 CF updates, mostly for power management:

 - Add suspend/resume methods to the AT91 CF driver, disabling
   non-wakeup IRQs during system suspend.  The card detect IRQ
   serves as a wakeup event source.

 - Convert the driver to the more-current "platform_driver" style.

So inserting or removing a CF card will wake the system, unless that
has been disabled by updating the sysfs file; and there will be no
more warnings about spurious IRQs during suspend/resume cycles.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/at91_cf.c