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
..
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus
2017-05-02 11:01:10 +02:00
2017-05-30 14:11:52 +02:00
2017-05-02 11:02:41 +02:00
2017-03-21 15:03:55 +01:00
2016-10-07 09:59:48 +02:00
2016-07-11 17:41:31 +02:00
2015-11-05 09:51:50 -08:00
2017-04-12 22:30:29 +02:00
2015-10-21 13:15:53 +02:00
2017-03-06 14:43:16 +01:00
2016-03-02 10:31:36 +01:00
2017-05-02 11:02:41 +02:00
2017-03-21 14:46:15 +01:00
2017-03-21 15:20:39 +01:00
2017-01-06 16:06:43 +01:00
2017-05-02 11:02:41 +02:00
2016-10-10 10:52:01 +02:00
2015-10-21 13:15:53 +02:00
2016-06-01 14:08:17 +02:00
2015-08-18 15:03:43 +02:00
2015-11-05 10:15:35 -08:00
2015-12-28 13:41:44 +01:00
2017-05-02 11:02:41 +02:00
2017-03-21 14:54:00 +01:00
2017-02-27 18:43:47 -08:00
2016-10-10 10:47:03 +02:00
2016-03-29 15:39:36 +02:00
2016-09-26 15:39:56 +02:00
2016-09-26 15:39:54 +02:00
2017-01-26 21:58:16 +01:00
2017-04-06 14:36:36 +02:00
2017-04-06 14:36:39 +02:00
2016-11-23 17:43:25 +01:00
2017-01-11 22:12:44 +01:00
2017-01-20 15:17:19 +01:00
2017-03-06 14:48:32 +01:00
2017-03-06 13:16:33 +01:00
2015-12-28 13:41:44 +01:00
2016-03-10 17:17:26 +01:00
2015-06-29 14:51:12 +02:00
2017-01-30 13:59:57 -02:00
2015-06-29 14:51:12 +02:00
2015-12-28 13:41:44 +01:00
2015-06-12 15:04:17 +02:00
2015-12-28 13:41:44 +01:00
2017-01-11 22:15:00 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2017-03-02 08:42:32 +01:00
2016-08-02 16:45:17 +02:00
2016-11-05 16:56:09 +01:00
2017-01-02 14:01:30 +01:00
2015-05-07 10:47:53 +02:00
2017-05-02 11:02:24 +02:00
2015-12-28 13:41:44 +01:00
2017-04-06 14:50:11 +02:00
2016-11-15 14:23:17 +01:00
2016-09-19 14:32:21 +02:00
2016-03-18 17:31:38 +01:00
2015-12-28 13:41:44 +01:00
2017-03-24 15:43:03 +01:00
2017-03-02 08:42:32 +01:00
2017-05-02 11:02:41 +02:00
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus
2017-05-02 11:01:10 +02:00
2016-08-31 14:12:35 +02:00
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus
2017-05-02 11:01:10 +02:00
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus
2017-05-02 11:01:10 +02:00
2017-04-06 14:51:54 +02:00
2017-03-06 14:07:13 +01:00