diff options
author | Stephane Grosjean <[email protected]> | 2020-10-14 10:56:31 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-11-03 22:30:32 +0100 |
commit | ecc7b4187dd388549544195fb13a11b4ea8e6a84 (patch) | |
tree | a5940b08d5dda24c8c7446aa7280ae114bb9c5d9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a6921dd524fe31d1f460c161d3526a407533b6db (diff) |
can: peak_usb: peak_usb_get_ts_time(): fix timestamp wrapping
Fabian Inostroza <[email protected]> has discovered a potential
problem in the hardware timestamp reporting from the PCAN-USB USB CAN interface
(only), related to the fact that a timestamp of an event may precede the
timestamp used for synchronization when both records are part of the same USB
packet. However, this case was used to detect the wrapping of the time counter.
This patch details and fixes the two identified cases where this problem can
occur.
Reported-by: Fabian Inostroza <[email protected]>
Signed-off-by: Stephane Grosjean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: bb4785551f64 ("can: usb: PEAK-System Technik USB adapters driver core")
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions