aa4f3c660a
This changes the calculation of the timestamps to use ktime_t instead of struct timeval as the base. This gets rid of one of the few remaining users of the deprecated ktime_to_timeval() and timeval_to_ktime() helpers. The code should also get more efficient, as we have now removed all of the divisions. I have left the cut-off for resetting the counters as 4.200 seconds, in order to leave the behavior unchanged otherwise. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
---|---|---|
.. | ||
Makefile | ||
pcan_usb.c | ||
pcan_usb_core.c | ||
pcan_usb_core.h | ||
pcan_usb_fd.c | ||
pcan_usb_pro.c | ||
pcan_usb_pro.h |