]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ideapad: add ACPI helpers
authorIke Panhc <ike.pan@canonical.com>
Fri, 1 Oct 2010 07:38:46 +0000 (15:38 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 21 Oct 2010 13:36:49 +0000 (09:36 -0400)
commit6a09f21dd1e205a68c8f8c4f39e4cff8f63801b6
tree547bc3b0d628dcc4a185b552a26fcb16aec6170e
parent037accfa14b28ecf49d9060063929c4b4cde373f
ideapad: add ACPI helpers

There are two methods under VPC2004 which is used to access VDAT/VCMD of EC
register. Add helpers for read and write these two registers.

And add read_method_int for reading the return value from ACPI methods which
requires no parameter.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad_acpi.c