linux/drivers/hid/intel-ish-hid/ishtp
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
..
bus.c HID: intel-ish-hid: constify device_type structure 2017-02-14 15:32:34 +01:00
bus.h
client-buffers.c HID: intel_ish-hid: Use kzalloc instead of kmalloc/memset 2016-08-29 09:36:20 +02:00
client.c HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
client.h HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
dma-if.c
hbm.c HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
hbm.h
init.c HID: intel-ish-hid: Remove unneeded linux/miscdevice.h include 2016-12-19 11:17:24 +01:00
ishtp-dev.h HID: intel-ish-hid: add printf attribute to print_log() 2017-01-02 13:16:32 +01:00