Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mario Limonciello and committed by
Matthew Garrett
b998680e 7939831e

+1 -2
+1 -2
drivers/platform/x86/alienware-wmi.c
··· 350 350 char *name; 351 351 352 352 if (interface == WMAX) { 353 - global_led.max_brightness = 100; 354 353 lighting_control_state = WMAX_RUNNING; 355 354 } else if (interface == LEGACY) { 356 - global_led.max_brightness = 0x0F; 357 355 lighting_control_state = LEGACY_RUNNING; 358 356 } 357 + global_led.max_brightness = 0x0F; 359 358 global_brightness = global_led.max_brightness; 360 359 361 360 /*