Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: support new BIOS version string pattern

2015-02-17 Thread Darren Hart
On Wed, Feb 04, 2015 at 05:00:19PM +0800, Adam Lee wrote: > Latest ThinkPad models use a new string pattern of BIOS version, > thinkpad_acpi won't be loaded automatically without this fix. > Hi Adam, > Signed-off-by: Adam Lee > --- > drivers/platform/x86/thinkpad_acpi.c | 25 ++

Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: support new BIOS version string pattern

2015-02-10 Thread Adam Lee
On Mon, Feb 09, 2015 at 08:35:22PM -0800, Darren Hart wrote: > > static bool __pure __init tpacpi_is_valid_fw_id(const char * const s, > > const char t) > > { > > - return s && strlen(s) >= 8 && > > + bool is_most = 0; > > + bool is_new = 0; > >

[ibm-acpi-devel] [PATCH] thinkpad_acpi: support new BIOS version string pattern

2015-02-04 Thread Adam Lee
Latest ThinkPad models use a new string pattern of BIOS version, thinkpad_acpi won't be loaded automatically without this fix. Signed-off-by: Adam Lee --- drivers/platform/x86/thinkpad_acpi.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/p