diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/Kconfig | 3 | ||||
-rw-r--r-- | drivers/misc/acer-wmi.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 92a85eecab04..1abc95ca9dfa 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -155,8 +155,9 @@ config FUJITSU_LAPTOP | |||
155 | If you have a Fujitsu laptop, say Y or M here. | 155 | If you have a Fujitsu laptop, say Y or M here. |
156 | 156 | ||
157 | config TC1100_WMI | 157 | config TC1100_WMI |
158 | tristate "HP Compaq TC1100 Tablet WMI Extras" | 158 | tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)" |
159 | depends on X86 && !X86_64 | 159 | depends on X86 && !X86_64 |
160 | depends on EXPERIMENTAL | ||
160 | depends on ACPI | 161 | depends on ACPI |
161 | select ACPI_WMI | 162 | select ACPI_WMI |
162 | ---help--- | 163 | ---help--- |
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c index a4d677504250..d7aea93081f2 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) | |||
428 | if (value > max_brightness) | 428 | if (value > max_brightness) |
429 | return AE_BAD_PARAMETER; | 429 | return AE_BAD_PARAMETER; |
430 | switch (quirks->brightness) { | 430 | switch (quirks->brightness) { |
431 | case 1: | ||
432 | return ec_write(0x83, value); | ||
433 | default: | 431 | default: |
434 | return AE_BAD_ADDRESS; | 432 | return ec_write(0x83, value); |
435 | break; | 433 | break; |
436 | } | 434 | } |
437 | default: | 435 | default: |
438 | return AE_BAD_ADDRESS; | 436 | return AE_BAD_ADDRESS; |