]> 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)
commit8ab74e8cbc1d5855790bff40c6ac4d1c46dd9c39
tree5441af6e907caa6e541a5c0f489f5b7334c8d464
parent14416d8a4d4e877b390e5967ea98b4b0830ce3de
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