]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Update the EC SCI masks with recent additions.
authorDaniel Drake <dsd@laptop.org>
Sat, 16 Jul 2011 13:30:52 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:04:56 +0000 (15:04 +1000)
commit91584f96c8a239f50573b13f9fd2c0d3dca599cc
tree0e4c02c64201ab019f055b000c2be9126893992c
parentdf61b9feaa5f059c8d08a87ea1487432b048d8a0
Update the EC SCI masks with recent additions.

Add functions to query SCI events and set the wakeup mask, to be used by
followup patches.

Add functions to tweak an event mask used to select certain EC events as a
system wakeup source.  Also add a function to determine if EC wakeup
functionality is available, as this depends on child drivers (different
for each laptop model) to configure the SCI interrupt.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/include/asm/olpc.h
arch/x86/platform/olpc/olpc.c