asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.
authorAlex Hung <alex.hung@canonical.com>
Wed, 20 Jun 2012 03:47:35 +0000 (11:47 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:57 +0000 (00:24 +0100)
commit785781699d5534735e59edc74886fc59752dcabd
tree437f86880ae5c4bddc6a09c27d2565ca1a487dbb
parent7499bd63d777215d16810b6fc9bd58fe83b4e576
asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.

commit 63a78bb1051b240417daad3a3fa9c1bb10646dca upstream.

According to responses from the BIOS team, ASUS_WMI_METHODID_DSTS2
(0x53545344) will be used as future DSTS ID. In addition, calling
asus_wmi_evaluate_method(ASUS_WMI_METHODID_DSTS2, 0, 0, NULL) returns
ASUS_WMI_UNSUPPORTED_METHOD in new ASUS laptop PCs. This patch fixes
no DSTS ID will be assigned in this case.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/platform/x86/asus-wmi.c