From: Thomas Renninger Date: Mon, 7 Apr 2014 13:16:57 +0000 (+0200) Subject: ACPI / tools: Introduce ec_access.c - tool to access the EC X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~5^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7cddbb07b18cc45e57420005850ca0326b9e074;p=pandora-kernel.git ACPI / tools: Introduce ec_access.c - tool to access the EC This userspace tool accesses the EC through the ec_sys debug driver (through /sys/kernel/debug/ec/ec0/io). The EC command/data registers cannot be accessed directly, because they may be manipulated by the AML interpreter in parallel. The ec_sys driver synchronizes user space (debug) access with the AML interpreter. Signed-off-by: Thomas Renninger [rjw: Changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed