commit | 110b7e9698601b28f313c2c560d51a8b1c742002 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Sep 09 16:37:27 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 09 18:57:22 2010 -0700 |
tree | c5b28705bd67f2f778c8e8ce26ad21542e4e2d42 | |
parent | e0bf1024b36be90da241af3c2767311e055b612c [diff] |
rtc-bfin: fix inverted logic in suspend path The int_clear helper takes a bitmask of interrupts to keep, not to disable. When suspending without wakeup enabled, we want to disable all interrupts, so use 0 (keep none) instead of -1 (keep all). Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>