Commit 90ac037d authored by David H's avatar David H Committed by popcornmix
Browse files

bcm2835-camera: Fix timestamp calculation problem (#2214)

* bcm2835-camera: Fix timestamp calculation problem

Use div_s64_rem() to convert usec timestamp to timeval
to avoid integer signedness bug.

* bcm2835-camera: Store kernel start time in NSEC instead of USEC

* bcm2835-camera: Reword debug message for clarity
parent 5b0d431b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment