aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Limonciello <mario_limonciello@dell.com>2014-05-07 16:08:09 -0400
committerMatthew Garrett <matthew.garrett@nebula.com>2014-06-09 17:45:37 -0400
commitb998680e9adea22159b66bd59ecdf07624e201ed (patch)
treedb5811974cbf0c5551c1d5634d5615adc0e06da4
parent7939831eacd81fccbd7a956b30c7bb3abb9079db (diff)
alienware-wmi: Update WMAX brightness method limit to 15
This more closely reflects what the hardware can actually support. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
-rw-r--r--drivers/platform/x86/alienware-wmi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c
index 541f9514f76f..e5329eac86b7 100644
--- 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)
350 char *name; 350 char *name;
351 351
352 if (interface == WMAX) { 352 if (interface == WMAX) {
353 global_led.max_brightness = 100;
354 lighting_control_state = WMAX_RUNNING; 353 lighting_control_state = WMAX_RUNNING;
355 } else if (interface == LEGACY) { 354 } else if (interface == LEGACY) {
356 global_led.max_brightness = 0x0F;
357 lighting_control_state = LEGACY_RUNNING; 355 lighting_control_state = LEGACY_RUNNING;
358 } 356 }
357 global_led.max_brightness = 0x0F;
359 global_brightness = global_led.max_brightness; 358 global_brightness = global_led.max_brightness;
360 359
361 /* 360 /*