]> git.baikalelectronics.ru Git - kernel.git/commit
HID: intel-ish-hid: ipc: use time_before to replace "jiffies < a"
authorLi Qiong <liqiong@nfschina.com>
Mon, 6 Jun 2022 13:47:50 +0000 (21:47 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 8 Jun 2022 11:05:45 +0000 (13:05 +0200)
commit840e7c22dd73bd56eaa08f3634dec489745db034
treeb5e24ccf716c54953c7c2b7eb83ecfeefae6e75c
parent506dfab3d8a8186087ad3681f851b2144d3ccebb
HID: intel-ish-hid: ipc: use time_before to replace "jiffies < a"

time_before deals with timer wrapping correctly.

Signed-off-by: Li Qiong <liqiong@nfschina.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