]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2165136585b5c7d6f118f1d90fbde550bb7de212
tree266590c15989deff5fbe4ea4532740ed8f2746e6
parent90ba4b1bfcf71bfe5c3844ddeb474aae4453cabd
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