]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: Accept flat mode for type 4 multi mode status
authorBenjamin Berg <bberg@redhat.com>
Tue, 14 Nov 2017 16:14:14 +0000 (17:14 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Dec 2017 12:56:27 +0000 (14:56 +0200)
commit43e2e23aa9f8099245dabe7dbac83ef7b8c5ce22
treec1f2774ed201598430e539f3a76c626ae3fb1819
parentc5db82a3f7d847c5821a2d176cf523ce60ceada1
platform/x86: thinkpad_acpi: Accept flat mode for type 4 multi mode status

On the X1 Yoga 2nd Generation and most likely other notebooks the FLAT
mode is reported. Decode it correctly rather than warning about an
unexpected multi mode status to be reported.

Signed-off-by: Benjamin Berg <bberg@redhat.com>
Cc: Peter FP1 Zhang <zhangfp1@lenovo.com
Cc: Lyude <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c