]> git.baikalelectronics.ru Git - kernel.git/commit
ideapad: read brightness setting on brightness key notify
authorIke Panhc <ike.pan@canonical.com>
Wed, 23 Feb 2011 13:39:59 +0000 (21:39 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 11 Mar 2011 17:52:22 +0000 (12:52 -0500)
commitada5dd1d2935882a6929ba1f22fbedcf8ccc6905
tree790f966b02853c2bc415c2d0908ab4d3cf94d4ab
parente1f7a16fb36ab753c570c78e938d1ef479ffd927
ideapad: read brightness setting on brightness key notify

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=25922
On ideapad Y530, the brightness key notify will be blocked if the last notify
is not responsed by getting the brightness value. Read value when we get the
notify shall fix the problem and will not have any difference on other ideapads.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad-laptop.c