Uwe Kleine-König
2db873211b
set_irq_wake: fix return code and wake status tracking
...
Since 15a647eba94c3da27ccc666bea72e7cca06b2d19 set_irq_wake returned -ENXIO
if another device had it already enabled. Zero is the right value to
return in this case. Moreover the change to desc->status was not reverted
if desc->chip->set_wake returned an error.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-23 09:35:53 -07:00
..
2008-07-23 09:35:53 -07:00
2008-07-17 23:57:20 +02:00
2008-07-21 21:55:02 -07:00
2008-07-14 15:58:35 +02:00
2008-05-17 03:30:23 -04:00
2008-06-24 23:36:35 -04:00
2008-06-24 23:36:35 -04:00
2008-06-27 18:09:16 +02:00
2008-04-29 08:06:29 -07:00
2008-07-04 10:40:08 -07:00
2008-04-29 08:06:09 -07:00
2008-05-24 09:56:14 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:22 -07:00
2008-07-16 23:27:01 +02:00
2008-07-22 09:59:41 -07:00
2008-04-29 08:06:22 -07:00
2008-07-22 19:24:31 +10:00
2008-07-16 18:02:34 -07:00
2008-07-16 18:02:33 -07:00
2008-06-23 13:31:15 +02:00
2008-07-15 21:55:59 +02:00
2008-04-29 08:06:22 -07:00
2008-05-01 08:04:00 -07:00
2008-06-24 10:52:55 -05:00
2008-07-22 19:24:31 +10:00
2008-07-10 10:13:51 -07:00
2008-07-16 23:27:03 +02:00
2008-04-29 08:06:22 -07:00
2008-06-24 01:28:20 +02:00
2008-06-24 01:28:20 +02:00
2008-07-14 14:55:13 -07:00
2008-07-17 17:40:11 +02:00
2008-05-23 22:25:27 +02:00
2008-07-22 19:24:28 +10:00
2008-05-16 16:53:35 +02:00
2008-06-10 11:45:09 +02:00
2008-04-29 08:06:13 -07:00
2008-04-29 08:06:07 -07:00
2008-04-29 08:06:14 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:49 -07:00
2008-05-19 10:01:37 +02:00
2008-07-02 15:06:24 -06:00
2008-05-24 18:49:22 +02:00
2008-04-30 08:29:36 -07:00
2008-07-14 15:27:43 -07:00
2008-06-26 11:24:38 +02:00
2008-07-16 18:02:33 -07:00
2008-07-15 21:10:12 +02:00
2008-07-15 14:12:03 -07:00
2008-05-19 10:03:39 +02:00
2008-07-15 21:10:12 +02:00
2008-06-26 09:24:33 +02:00
2008-05-28 14:49:27 +02:00
2008-04-29 08:06:10 -07:00
2008-04-29 08:06:22 -07:00
2008-07-21 21:55:02 -07:00
2008-07-14 12:19:13 +02:00
2008-06-06 15:19:28 +02:00
2008-06-06 15:19:44 +02:00
2008-06-27 14:31:31 +02:00
2008-07-04 12:50:22 +02:00
2008-06-27 14:31:47 +02:00
2008-05-05 23:56:17 +02:00
2008-06-27 14:32:05 +02:00
2008-07-04 12:50:23 +02:00
2008-07-21 21:55:02 -07:00
2008-07-01 10:14:06 +02:00
2008-05-26 10:37:07 -07:00
2008-07-15 14:12:20 -07:00
2008-07-15 21:55:59 +02:00
2008-07-05 08:51:24 +02:00
2008-05-23 20:39:40 +02:00
2008-06-30 09:20:55 +02:00
2008-06-23 22:57:56 +02:00
2008-07-22 09:59:41 -07:00
2008-05-24 09:56:13 -07:00
2008-07-22 19:24:31 +10:00
2008-04-30 08:29:48 -07:00
2008-05-02 16:18:42 -07:00
2008-05-02 16:18:42 -07:00
2008-07-14 16:06:58 -07:00
2008-04-29 08:06:07 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:04 -07:00
2008-07-04 10:40:04 -07:00