libcamera: pipeline: uvcvideo: Silently ignore AeEnable

The `AeEnable` control is handled in `Camera::queueRequest()` but it
still reaches the pipeline handler because a single element cannot be
removed from a `ControlList`. So ignore it silently.

Fixes: ffcecda4d5 ("libcamera: pipeline: uvcvideo: Report new AeEnable control as available")
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Barnabás Pőcze 2025-06-05 14:18:38 +02:00
parent e9528306f2
commit 35ee8752b7

View file

@ -331,6 +331,8 @@ int PipelineHandlerUVC::processControl(const UVCCameraData *data, ControlList *c
cid = V4L2_CID_GAIN; cid = V4L2_CID_GAIN;
else if (id == controls::Gamma) else if (id == controls::Gamma)
cid = V4L2_CID_GAMMA; cid = V4L2_CID_GAMMA;
else if (id == controls::AeEnable)
return 0; /* Handled in `Camera::queueRequest()`. */
else else
return -EINVAL; return -EINVAL;