summaryrefslogtreecommitdiff
path: root/utils/codegen
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2025-01-21 13:00:37 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2025-06-01 22:53:47 +0100
commite342f050c283283eec1191c94a692325362c170e (patch)
tree159596c6708d3d7230f7f741ab45603ef770e085 /utils/codegen
parentfabee6055f21d0f47915e0d03c112fce3c2172b2 (diff)
libcamera: mali-c55: Fix error paths in ::init()
In the MaliC55CameraData::init() function there are two places that return values they shouldn't; the ret variable is returned after checking a pointer is not null instead of an explicit -ENODEV and later the boolean value false is returned on failure instead of the error value returned by V4L2Subdevice::open() - fix both problems. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/codegen')
0 files changed, 0 insertions, 0 deletions