]> git.karo-electronics.de Git - karo-tx-linux.git/commit
save and restore adaptive keyboard mode for suspend and,resume
authorShuduo Sang <shuduo.sang@canonical.com>
Thu, 27 Mar 2014 10:06:25 +0000 (18:06 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 15:48:56 +0000 (11:48 -0400)
commit73e0157860c8c06f86611abd820d5dbb726b0fc6
treed6ac43bcab6bd149656452c6fbb397552ec69cbe
parent8f5f86abc6593b6d600712435e2f24a7a098b951
save and restore adaptive keyboard mode for suspend and,resume

Dan Aloni has submitted a patch to set adaptive mode to function mode
when system resume back. Thanks Dan. :)

Following patch can make it to be restored to previous mode like What
Windows does.

Thanks,
Shuduo

>From 0ca960138518ceab23110141a0d7c0cafd54a859 Mon Sep 17 00:00:00 2001
From: Shuduo Sang <shuduo.sang@canonical.com>
Date: Thu, 27 Mar 2014 17:51:24 +0800
Subject: [PATCH] save and restore adaptive keyboard mode for suspend and
 resume

The mode of adaptive keyboard on X1 Carbon need be saved first before
suspend then it can be restored after resume. Otherwise it will be
unusable.

Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
Signed-off-by: Shuduo Sang <shuduo.sang@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/thinkpad_acpi.c