projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7939831
)
alienware-wmi: Update WMAX brightness method limit to 15
author
Mario Limonciello
<
[email protected]
>
Wed, 7 May 2014 20:08:09 +0000
(15:08 -0500)
committer
Matthew Garrett
<
[email protected]
>
Mon, 9 Jun 2014 21:45:37 +0000
(17:45 -0400)
This more closely reflects what the hardware can actually support.
Signed-off-by: Mario Limonciello <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/alienware-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/alienware-wmi.c
b/drivers/platform/x86/alienware-wmi.c
index 541f9514f76f85d831c3423f5120ddf762e1fb67..e5329eac86b7e1dc3562dcfde6c0f8e4cca395d2 100644
(file)
--- a/
drivers/platform/x86/alienware-wmi.c
+++ b/
drivers/platform/x86/alienware-wmi.c
@@
-350,12
+350,11
@@
static int alienware_zone_init(struct platform_device *dev)
char *name;
if (interface == WMAX) {
- global_led.max_brightness = 100;
lighting_control_state = WMAX_RUNNING;
} else if (interface == LEGACY) {
- global_led.max_brightness = 0x0F;
lighting_control_state = LEGACY_RUNNING;
}
+ global_led.max_brightness = 0x0F;
global_brightness = global_led.max_brightness;
/*