From patchwork Wed Jun 11 13:41:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 23542 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 93471BDE6B for ; Wed, 11 Jun 2025 13:41:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B528468DC0; Wed, 11 Jun 2025 15:41:24 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="m78/OFyZ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 83DCF61552 for ; Wed, 11 Jun 2025 15:41:23 +0200 (CEST) Received: from pb-laptop.local (185.221.142.30.nat.pool.zt.hu [185.221.142.30]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7482B352 for ; Wed, 11 Jun 2025 15:41:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1749649275; bh=0U3II/jl5EQWqJwsmQv5hAV3OowuHxkn8zds2hSZjIo=; h=From:To:Subject:Date:From; b=m78/OFyZFPndazSUehVEFIcQ3BHB1eVwc+MzK//R45/XDibBBTPoXjlAOC4ilP0qw zBnmgSW7jLhaQo7t4kNn22CEt6rMSNN1ZZx7Gz576zPNyVaqNojGROxgiUi1cNS+A3 i17YXvs2dN4gYLiFaqUp3hHuykZqVuAMfLLQQ8+c= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] libcamera: pipeline: uvcvideo: Silently ignore `AeEnable` Date: Wed, 11 Jun 2025 15:41:18 +0200 Message-ID: <20250611134118.585044-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The `AeEnable` control is handled in `Camera::queueRequest()` but it still reaches the pipeline handler, so ignore it silently. Fixes: ffcecda4d5b9b5 ("libcamera: pipeline: uvcvideo: Report new AeEnable control as available") Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 2 ++ 1 file changed, 2 insertions(+) -- 2.49.0 diff --git a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp index 58aa0eb4c..d52b88042 100644 --- a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp +++ b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp @@ -331,6 +331,8 @@ int PipelineHandlerUVC::processControl(const UVCCameraData *data, ControlList *c cid = V4L2_CID_GAIN; else if (id == controls::Gamma) cid = V4L2_CID_GAMMA; + else if (id == controls::AeEnable) + return 0; /* Handled in `Camera::queueRequest()`. */ else return -EINVAL;