]> git.baikalelectronics.ru Git - kernel.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)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 25 Apr 2016 17:31:59 +0000 (10:31 -0700)
commit94a6f8279d0533e33f56c6bdab15b372194b10ac
tree9aa4580f9ccdf75c3d76c7aa48af7c00f4f6d1f6
parent97a99f2cb888a00e90798fa7007626730e0d9b17
toshiba_acpi: Fix regression caused by hotkey enabling value

Commit 25aacd215fdf ("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>
Cc: stable@vger.kernel.org
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c