diff options
| author | Alexandre Kroupski <[email protected]> | 2019-08-20 08:37:45 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-08-23 07:27:55 -0300 |
| commit | 623fd246bb40234fe68dd4e7c1f1f081f9c45a3d (patch) | |
| tree | 020872dfb857ad04fb25bb52783b2e00634ce0e2 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 01faced6f65d0224bf6ce1262a4137771e28519f (diff) | |
media: atmel: atmel-isi: fix timeout value for stop streaming
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: 195ebc43bf76 ("[media] V4L: at91: add Atmel Image Sensor Interface (ISI) support")
Signed-off-by: Alexandre Kroupski <[email protected]>
Reviewed-by: Eugen Hristev <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions