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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 15:10:04 +0000 (08:10 -0700)
commit88cdb96565315a7e127a1fcd6a8e2d1374be9aa2
tree5f2971f38e7bc8f1656f4a51f533b46fd556cdd9
parent5eaac83b7362a1944afde7e867e53c7135e36d68
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/asus-wmi.c