]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb975dc3689fc6a3718ad288ce080924f9cb7e176
tree78373b410fe718e1715205dedb2a366100e40cd4
parent8e45099e029bb6b369b27d8d4920db8caff5ecce
sony-laptop: do not scribble keyboard backlight registers on resume

Follow-up to commit 294d31e8227c ("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