linux/drivers/hid/intel-ish-hid/ipc
Arnd Bergmann 2503f7babb HID: intel_ish-hid: convert timespec to ktime_t
The internal accounting uses 'timespec' based time stamps, which is
slightly inefficient and also problematic once we get to the time_t
overflow in 2038.

When communicating to the firmware, we even get an open-coded 64-bit
division that prevents the code from being build-tested on 32-bit
architectures and is inefficient due to the double conversion from
64-bit nanoseconds to seconds+nanoseconds and then microseconds.

This changes the code to use ktime_t instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-05-30 14:11:52 +02:00
..
hw-ish-regs.h HID: intel-ish-hid: ipc: check FW status to distinguish ISH resume paths 2017-02-08 12:11:57 +09:00
hw-ish.h HID: intel-ish-hid: ipc: check FW status to distinguish ISH resume paths 2017-02-08 12:11:57 +09:00
ipc.c HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
pci-ish.c Merge branches 'for-4.10/upstream-fixes', 'for-4.11/intel-ish', 'for-4.11/mayflash', 'for-4.11/microsoft', 'for-4.11/rmi', 'for-4.11/upstream' and 'for-4.11/wacom' into for-linus 2017-02-20 15:01:57 +01:00