projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3634274
)
backlight/eeepc-laptop: Update the backlight state when we change brightness
author
Matthew Garrett
<mjg@redhat.com>
Tue, 14 Jul 2009 16:06:04 +0000
(17:06 +0100)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Mon, 21 Sep 2009 20:05:02 +0000
(21:05 +0100)
Trigger a status update when the user hits a brightness key, allowing
userspace to present appropriate UI.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/platform/x86/eeepc-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/eeepc-laptop.c
b/drivers/platform/x86/eeepc-laptop.c
index
222ffb8
..
7b5ee49
100644
(file)
--- a/
drivers/platform/x86/eeepc-laptop.c
+++ b/
drivers/platform/x86/eeepc-laptop.c
@@
-642,7
+642,7
@@
static int notify_brn(void)
struct backlight_device *bd = eeepc_backlight_device;
if (bd) {
int old = bd->props.brightness;
- b
d->props.brightness = read_brightness(bd
);
+ b
acklight_force_update(bd, BACKLIGHT_UPDATE_HOTKEY
);
return old;
}
return -1;