]> 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)
commit9c2b2173c91c70e9ecf2a91c9e381fca141cba89
tree78373b410fe718e1715205dedb2a366100e40cd4
parent7b0fed929fffeacf8cab3729b15a40f1ac9559a7
sony-laptop: do not scribble keyboard backlight registers on resume

Follow-up to commit 5f4c77bcd724 ("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