]> 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>
Mon, 28 Mar 2011 10:07:24 +0000 (06:07 -0400)
commit728d59b965f9939c6e3fb896f5c0558ee5bffddd
tree266590c15989deff5fbe4ea4532740ed8f2746e6
parent5f999fcaff97c116bea4c720b2ffb154e2182b95
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