toshiba_acpi: Fix the enabling of the Special Functions
authorAzael Avalos <coproscefalo@gmail.com>
Fri, 20 Mar 2015 22:55:18 +0000 (16:55 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 25 Mar 2015 17:58:24 +0000 (10:58 -0700)
commitfb42d1f491ebf6bb3e41b4dc93c5a1b1768e0df7
tree256dbbd8c8ccfad23aeb7e8b27e1958c3897ee90
parenta2b3471b5b13b81c5975d8f88db65694d7b69f56
toshiba_acpi: Fix the enabling of the Special Functions

Some Toshiba laptops with the "Special Functions" feature enabled
fail to properly enable such feature unless a specific value is
used to enable the hotkey events.

This patch adds a new function called "*_enable_special_functions",
that simply makes a call to the HCI_HOTKEY_EVENT call, but this time
we are using a different parameter to make the "Special Functions"
mode work as expected.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c