[libcamera-devel] [PATCH v1 0/2] Raspberry Pi: Timeout error handling
Naushir Patuck
naush at raspberrypi.com
Fri Sep 16 12:05:15 CEST 2022
Hi,
This small series attempts to improve our timeout handling. We have been getting
more and more reports of ov5647 seemingly hitting the Unicam timeout condition,
likely due to a sensor fault. There is no error handling as such, simply a log
message indicating a timeout occurred, then an application gets stalled.
This series improves the timeout handling by putting the pipeline handler in
an error state, and cancelling any outstanding/future requests. The application
can then make a decision on what to do (either close down or attempt a restart)
when these requests come back as cancelled when it was not expecting this.
Thanks,
Naush
Naushir Patuck (2):
pipeline: raspberrypi: Add an error state
pipeline: raspberrypi: Improve Unicam timeout handling
.../pipeline/raspberrypi/raspberrypi.cpp | 29 ++++++++++++++-----
1 file changed, 21 insertions(+), 8 deletions(-)
--
2.25.1
More information about the libcamera-devel
mailing list