]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
toshiba_acpi: Fix regression caused by hotkey enabling value
authorAzael Avalos <coproscefalo@gmail.com>
Fri, 22 Apr 2016 15:29:36 +0000 (09:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:49:07 +0000 (14:49 -0700)
commit17b7a0f09f6dff4fd8d4a15027ccde8c9e427388
treee8c4fec34f9e92ff0691d5f1b679729576c5747c
parent2068f4681b73b91c62b089bdea352c6853ea752b
toshiba_acpi: Fix regression caused by hotkey enabling value

commit a30b8f81d9d6fe24eab8a023794548b048f08e3c upstream.

Commit 52cbae0127ad ("toshiba_acpi: Change default Hotkey enabling value")
changed the hotkeys enabling value, as it was the same value Windows uses,
however, it turns out that the value tells the EC that the driver will now
take care of the hardware events like the physical RFKill switch or the
pointing device toggle button.

This patch reverts such commit by changing the default hotkey enabling
value to 0x09, which enables hotkey events only, making the hardware
buttons working again.

Fixes bugs 113331 and 114941.

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