ACPI: EC: Do the byte access with a fast path
commit3e71a87d03055de0b8c8e42aba758ee6494af083
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Thu, 10 Jan 2008 23:42:51 +0000 (11 02:42 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 11 Jan 2008 01:49:14 +0000 (10 20:49 -0500)
treea1fb6be330f06e82a1565ccbdd37a9db260dc756
parentfd0b45dfd1858c6b49d06355a460bcf36d654c06
ACPI: EC: Do the byte access with a fast path

Specification allows only byte access for EC region, so
make it separate from bug-compatible multi-byte access.
Also do not allow return of garbage in supplied *value.

Reference: http://bugzilla.kernel.org/show_bug.cgi?id=9341

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c