diff options
author | Uwe Kleine-König <[email protected]> | 2008-07-23 14:42:25 +0200 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-07-23 09:35:53 -0700 |
commit | 2db873211ba47ef704c301f9ecf4a33413a0b649 (patch) | |
tree | 1d406d7b446da8e677f6014b4fd101456e485466 /net/unix/sysctl_net_unix.c | |
parent | 1bad879a078111748ebc27fb0d29e8c916556835 (diff) |
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 <[email protected]>
Acked-by: David Brownell <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Russell King <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions