summaryrefslogtreecommitdiff
path: root/test/ipc/unixsocket.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-06-06 09:58:25 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-06 15:08:34 +0300
commit7ee7dc3369ebf26d142b6352cb3d309f48600433 (patch)
tree31ac2bfd4d01b40a12f833cf1fd03a9a5229b0d5 /test/ipc/unixsocket.cpp
parent161d24377c34c9254a132a9e769fbf11456b5b17 (diff)
camera_sensor: Suppress error message if test patterns are unavailable
If a sensor driver does not support test patterns (e.g. IMX477), libcamera throws an unnecessary error message during initialisation when it sets the test pattern to off. Fix this by moving the error message into setTestPatternMode() where the pipeline handler explicitly requests to set a test pattern. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/ipc/unixsocket.cpp')
0 files changed, 0 insertions, 0 deletions