thinkpad-acpi fails to load with newer Thinkpad X201s BIOS
commitd63bf93e2907f7924b8066038c584d6eb1969a0a
authorKeith Packard <keithp@keithp.com>
Sat, 4 Jun 2011 14:26:54 +0000 (4 11:26 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 4 Jun 2011 14:26:54 +0000 (4 11:26 -0300)
tree09b0c78c8805d16b0783077e98d79f3829d877c4
parent693a8188f6e05b093b9af30a35b25f2d98b7c283
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