Andres Salomon
3d26c20bae
Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it
...
This provides a new API allows different OLPC architectures to override the
EC driver. x86 and ARM OLPC machines use completely different EC backends.
The olpc_ec_cmd is synchronous, and waits for the workqueue to send the
command to the EC. Multiple callers can run olpc_ec_cmd() at once, and
they will by serialized and sleep while only one executes on the EC at a time.
We don't provide an unregister function, as that doesn't make sense within
the context of OLPC machines - there's only ever 1 EC, it's critical to
functionality, and it certainly not hotpluggable.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Paul Fox <pgf@laptop.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
2012-07-31 23:27:30 -04:00
..
2012-07-30 11:54:53 -07:00
2012-07-27 15:14:26 -07:00
2012-07-30 17:25:12 -07:00
2012-07-30 10:11:31 -07:00
2012-07-27 11:15:03 -04:00
2012-07-31 14:35:28 -07:00
2012-07-17 14:49:24 -03:00
2012-07-30 13:24:37 -07:00
2012-07-30 17:25:13 -07:00
2012-07-23 16:31:31 -07:00
2012-07-16 23:23:52 -07:00
2012-07-30 09:45:53 -07:00
2012-07-26 14:28:55 -07:00
2012-07-26 20:29:52 -07:00
2012-07-24 17:12:54 -07:00
2012-07-29 21:11:05 -03:00
2012-07-30 12:41:17 -07:00
2012-07-30 09:32:39 -07:00
2012-07-30 17:25:17 -07:00
2012-07-30 12:41:17 -07:00
2012-07-30 10:06:23 -07:00
2012-07-24 22:43:04 -07:00
2012-07-19 15:27:33 -07:00
2012-07-30 10:10:26 -07:00
2012-07-07 22:35:30 +03:00
2012-07-30 19:03:41 -07:00
2012-07-26 14:28:55 -07:00
2012-07-12 07:54:45 -07:00
2012-07-15 17:33:17 +01:00
2012-07-24 13:56:26 -07:00
2012-07-30 12:41:17 -07:00
2012-07-24 16:24:11 -07:00
2012-07-18 09:40:54 -07:00
2012-07-27 08:16:07 +08:00
2012-07-30 17:25:34 -07:00
2012-07-30 19:03:41 -07:00
2012-07-30 17:25:17 -07:00
2012-07-30 12:41:17 -07:00
2012-07-30 17:25:34 -07:00
2012-07-26 20:29:52 -07:00
2012-07-30 11:45:52 -07:00
2012-07-31 23:27:29 -04:00
2012-07-09 16:42:24 -04:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 14:05:46 -07:00
2012-07-31 23:27:30 -04:00
2012-07-31 23:27:29 -04:00
2012-07-30 17:25:21 -07:00
2012-07-26 07:45:20 +02:00
2012-07-31 00:51:09 +02:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-07-30 17:25:34 -07:00
2012-07-26 18:09:01 -07:00
2012-07-25 15:58:48 -04:00
2012-07-20 16:42:59 +09:00
2012-07-30 11:45:52 -07:00
2012-07-31 23:27:29 -04:00
2012-07-21 02:44:13 -07:00
Merge branches 'acpi_pad', 'acpica', 'apei-bugzilla-43282', 'battery', 'cpuidle-coupled', 'cpuidle-tweaks', 'intel_idle-ivb', 'ost', 'red-hat-bz-772730', 'thermal', 'thermal-spear' and 'turbostat-v2' into release
2012-07-26 00:03:58 -04:00
2012-07-27 15:14:26 -07:00
2012-07-30 17:25:34 -07:00
2012-07-22 01:22:23 +03:00
2012-07-30 17:25:34 -07:00
2012-07-20 08:59:03 +01:00
2012-07-19 15:39:39 -07:00
2012-07-26 11:25:33 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 16:17:07 -07:00