Re: [PATCH 0/3] Add support for X1 Yoga (2016) Tablet Mode + refactors

From: Lyude Paul
Date: Tue Nov 01 2016 - 13:25:53 EST


Got in touch with a friend who happened to have a X201 and had them
test the patches, so I've confirmed this doesn't break anything with
older ThinkPad tablets.

On Mon, 2016-10-31 at 18:55 -0400, Lyude wrote:
> Updated patchset for adding support for detecting tablet mode on the
> X1 Yoga
> 2016 model, along with some refactoring suggested by Daniel.
>
> Important: I realized I never actually tried testing this on any of
> the older
> Thinkpad tablets. If someone has one who is willing to test let me
> know,
> otherwise I'll test it out when I get to the office on Thursday.
>
> Signed-off-by: Lyude <lyude@xxxxxxxxxx>
> Cc: Daniel Martin <consume.noise@xxxxxxxxx>
>
> Lyude (3):
> Â thinkpad_acpi: Move tablet detection into separate function
> Â thinkpad_acpi: Don't repeat ourselves in hotkey_init_tablet_mode()
> Â thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode
>
> Âdrivers/platform/x86/thinkpad_acpi.c | 88
> ++++++++++++++++++++++++++++++------
> Â1 file changed, 73 insertions(+), 15 deletions(-)
>
--
Cheers,
Lyude