From: Corentin Chary Date: Fri, 1 Jul 2011 09:34:30 +0000 (+0200) Subject: asus-wmi: second part of the version starts at 16 not 8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57d5c8e742dbb8cdc794d9e0fee769c9533072af;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git asus-wmi: second part of the version starts at 16 not 8 Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 0fce7de77b1c..fa2b395145a6 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -1246,7 +1246,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus) /* We don't know yet what to do with this version... */ if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) { - pr_info("BIOS WMI version: %d.%d", rv >> 8, rv & 0xFF); + pr_info("BIOS WMI version: %d.%d", rv >> 16, rv & 0xFF); asus->spec = rv; }