mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 05:36:43 +07:00
623fd246bb
In case of sensor malfunction, stop streaming timeout takes much longer
than expected. This is due to conversion of time to jiffies: milliseconds
multiplied with HZ (ticks/second) gives out a value of jiffies with 10^3
greater. We need to also divide by 10^3 to obtain the right jiffies value.
In other words FRAME_INTERVAL_MILLI_SEC must be in seconds in order to
multiply by HZ and get the right jiffies value to add to the current
jiffies for the timeout expire time.
Fixes:
|
||
---|---|---|
.. | ||
atmel-isc-base.c | ||
atmel-isc-regs.h | ||
atmel-isc.h | ||
atmel-isi.c | ||
atmel-isi.h | ||
atmel-sama5d2-isc.c | ||
Kconfig | ||
Makefile |