Skip to content
Commit 7e1ccce9 authored by Naushir Patuck's avatar Naushir Patuck Committed by Dom Cobley
Browse files

media: bcm2835-unicam: Correctly handle FS + FE ISR condtion



If we get a simultaneous FS + FE interrupt for the same frame, it cannot be
marked as completed and returned to userland as the framebuffer will be refilled
by Unicam on the next sensor frame. Additionally, the timestamp will be set to 0
as the FS interrupt handling code will not have run yet.

To avoid these problems, the frame is considered dropped in the FE handler,
and will be returned to userland on the subsequent sensor frame.

Signed-off-by: default avatarNaushir Patuck <naush@raspberrypi.com>
parent 69fdb5a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment