[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1399493290-4572-1-git-send-email-mario_limonciello@dell.com>
Date: Wed, 7 May 2014 15:08:09 -0500
From: Mario Limonciello <mario_limonciello@...l.com>
To: matthew.garrett@...ula.com
Cc: LKML <linux-kernel@...r.kernel.org>,
platform-driver-x86@...r.kernel.org,
Mario Limonciello <mario_limonciello@...l.com>
Subject: [PATCH 1/2] 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@...l.com>
---
drivers/platform/x86/alienware-wmi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c
index 541f951..e5329ea 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)
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;
/*
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists