libcamera/utils/ipu3
Kieran Bingham bdd85fa01c utils: ipu3: Fix return value check on file output
The data parsed by ipu3-unpack is written out using the write() c
library call, but the error code is incorrectly checked which misses the
single erroroneous return value returned by the function.

Fix it to explicitly check against the error code.

Fixes: 23ac77dc4a ("utils: ipu3: Add IPU3 raw capture unpack utility")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-02-28 11:09:11 +00:00
..
ipu3-capture.sh utils: ipu3-capture.sh: Fix the script to work with recent media-ctl versions 2023-07-05 00:51:34 +01:00
ipu3-pack.c utils: ipu3-pack: Provide a 10-bit bayer packing utility 2022-07-19 21:43:35 +05:30
ipu3-process.sh utils: ipu3: process: Configure formats on ImgU subdev pads 2018-12-11 15:58:19 +02:00
ipu3-unpack.c utils: ipu3: Fix return value check on file output 2024-02-28 11:09:11 +00:00
meson.build utils: ipu3-pack: Provide a 10-bit bayer packing utility 2022-07-19 21:43:35 +05:30