]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: do not scribble keyboard backlight registers on resume
authorMattia Dongili <malattia@linux.it>
Mon, 25 Nov 2013 22:43:50 +0000 (07:43 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Nov 2013 04:03:36 +0000 (13:03 +0900)
commit2571da0418e28940d745d239bbfac99a2e84b058
tree78373b410fe718e1715205dedb2a366100e40cd4
parent72dde23b540edc898500b0460c784af0ca7fe353
sony-laptop: do not scribble keyboard backlight registers on resume

Follow-up to commit 43cba00b74ef ("sony-laptop: don't change keyboard
backlight settings"): avoid messing up the state on resume.  Leave it to
what was before suspending as it's anyway likely that we still don't
know what value we should write to the EC registers.  This fix is also
required in 3.12

Cc: stable@vger.kernel.org
Tested-by: Karol Babioch <karol@babioch.de>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/sony-laptop.c