]> git.baikalelectronics.ru Git - kernel.git/commit
rtc-bfin: fix inverted logic in suspend path
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Sep 2010 23:37:27 +0000 (16:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Sep 2010 01:57:22 +0000 (18:57 -0700)
commit293d38392b7552526bdc9ff31438460fb93df31b
treec5b28705bd67f2f778c8e8ce26ad21542e4e2d42
parentfa7e69a249e96e54fade5e5eae8cd8b8be930663
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>
drivers/rtc/rtc-bfin.c