]> git.karo-electronics.de Git - linux-beck.git/commit
HID: intel-ish-hid: ipc: use msleep_interrupt() for wait
authorEven Xu <even.xu@intel.com>
Fri, 11 Nov 2016 01:40:33 +0000 (09:40 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Nov 2016 10:42:39 +0000 (11:42 +0100)
commite5b56aa7906d6995007ffe11ecc181dd876dabd3
treeca1396daaa2ed2a548ea051c8d67c4b3c1c0f011
parent7ede704d746e7c02219cdd44abe22c0b606e70db
HID: intel-ish-hid: ipc: use msleep_interrupt() for wait

set_current_task() must be called before schedule_timeout(), for this
driver, in order to avoid incorrect usage, use msleep_interrupt()
instead.

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