]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: fujitsu-laptop: make hotkey handling functions more similar
authorMichał Kępień <kernel@kempniu.pl>
Wed, 11 Jan 2017 08:59:33 +0000 (09:59 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 4 Feb 2017 01:47:19 +0000 (02:47 +0100)
commitfc95ecc5a76f30ef0a7a7095d3c05bf85e0b7d63
tree5441af6e907caa6e541a5c0f489f5b7334c8d464
parent348d841eb83bd15734849f8534c0d1e805310b93
platform/x86: fujitsu-laptop: make hotkey handling functions more similar

Make two minor tweaks to acpi_fujitsu_hotkey_press() to make it more
similar to acpi_fujitsu_hotkey_release():

  * call vdbg_printk() after reporting the input event,
  * return immediately when kfifo_in_locked() fails.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c