Skip to content
Commit e6f0bf2a authored by Naushir Patuck's avatar Naushir Patuck Committed by Phil Elwell
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 0c61d40e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment