]> git.baikalelectronics.ru Git - kernel.git/commit
HID: intel-ish-hid: consolidate ish wake up operation
authorEven Xu <even.xu@intel.com>
Fri, 21 Oct 2016 22:48:38 +0000 (15:48 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sat, 5 Nov 2016 14:57:37 +0000 (15:57 +0100)
commitef04c8db56c05ed2d7626aff9ee0b34bfc64eaa4
treef6c7926a7d9e908f48a42e7de0c6e3a5b76ae2bf
parent533288194cbe83cc68af6453c8cd58acc2a4867a
HID: intel-ish-hid: consolidate ish wake up operation

Same operations are done in ish_hw_start() and _ish_hw_reset() to
wakeup ISH device. Consolidate them by introducing a new function
ish_wakeup() and move the code there.

Signed-off-by: Even Xu <even.xu@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/ipc.c