thinkpad-acpi fails to load with newer Thinkpad X201s BIOS
commitb6d321150c59592ea3fd970c6bcd73833c0694b0
authorKeith Packard <keithp@keithp.com>
Sun, 29 May 2011 19:37:41 +0000 (29 16:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 29 May 2011 19:39:01 +0000 (29 16:39 -0300)
tree2a829432f5878ce2ec652e7dd720a2980375d51e
parentdb5b4df73e5a1a02c2c997b8fa6f2f40b55b66c4
thinkpad-acpi fails to load with newer Thinkpad X201s BIOS

The new BIOS has a slightly different EC version string.

From a1541710300b083a1a9acff2890d721d15ede62b Mon Sep 17 00:00:00 2001
From: Keith Packard <keithp@keithp.com>
Date: Sun, 13 Mar 2011 23:46:22 -0700
Subject: [PATCH] thinkpad-acpi: Some BIOS versions don't end in WW, remove check

My X201s BIOS version string is 6QET46V1 (1.16 ). The
EC version string is 6QHT28WW-1.09. The driver was requiring that both
of these have 'WW' in positions 6 and 7. I don't know what the
significance of having 'V1' there instead is, but removing the test
makes the driver load on my machine.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c