From: Carlos Corbacho Date: Fri, 8 Feb 2008 23:51:49 +0000 (+0000) Subject: acer-wmi: Fix backlight on AMW0 (V1) laptops X-Git-Tag: v2.6.25-rc1~18^2^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4609d029aa8a2c7e0ad71e329c6e3493e1e95040;p=linux-2.6-omap-h63xx.git acer-wmi: Fix backlight on AMW0 (V1) laptops There is some leftover cruft from the old quirk infrastructure that causes us to be unable to set the backlight on older laptops. Signed-off-by: Carlos Corbacho Signed-off-by: Len Brown --- diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c index a4d67750425..d7aea93081f 100644 --- a/drivers/misc/acer-wmi.c +++ b/drivers/misc/acer-wmi.c @@ -428,11 +428,9 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap, struct wmi_interface *iface) if (value > max_brightness) return AE_BAD_PARAMETER; switch (quirks->brightness) { - case 1: - return ec_write(0x83, value); default: - return AE_BAD_ADDRESS; - break; + return ec_write(0x83, value); + break; } default: return AE_BAD_ADDRESS;