Message ID | 20231211125950.108092-7-umang.jain@ideasonboard.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7026818vqy; Mon, 11 Dec 2023 05:00:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVu7TYgIl0KjLN1ZBOx6Zhkcz0Pt4z/ifsEBT9rYwXIeTh0rO8qATOs0XAYy4FnIVcd6Wf X-Received: by 2002:a05:6a20:5486:b0:18f:726d:dcdf with SMTP id i6-20020a056a20548600b0018f726ddcdfmr2364765pzk.115.1702299655313; Mon, 11 Dec 2023 05:00:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702299655; cv=none; d=google.com; s=arc-20160816; b=tHEdbHAmPJQZkodQlkbQPaFqTkYURniG+ltRQaZenhCRVXWy3VnvAKhTTGhsM5+PSS X0GPZDXUs4g7kiWvWEgBtzhbKtD9vqR7egePsQj0ZwfQldgN62o1ayZ7WtzxsDGzfQMo DZ/pbRfFqkv3yFVPcJ2eoFrNdy4nxSSKyGt7toQCEbnzP35fxMFpl7KNSZGpgeilXnIi Fs417kOeVFHN9BftmoRX00yo0bnwCsSXdD81AlFYm2WFmQ584MNUmgvXvH3RgRUJIhR9 qcntJ7FbnkaPvK1gynpcBh0IwAqrMyMkZEZnZlFmU/jw3JecvR6xhCF38WBQJgLOXonX Ia0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4T7ed2Ee4yZdpGZPSTxswX9DQ89SUBNNb7TyAoVhjnM=; fh=5WFlYumxFb4YMTIyFXnieMfGzo3YjRfO3j2f2Wqiw4A=; b=bBq0yO9SnRvR+XzrrgVVkj+OkgxFoSZ7rkYxt0Auwo2nQFd9F6sQR2I6nYwMKngwL3 sMjzOpoGMLURg8KN8LeexuUR/SjT2WiHKz4irTMbjZSjdFP1EnmIqeSm0W7bSi43NOFw IzBOGMnJx8wFoXFDf99VUtFTfrJgUc6IRWsJww8GJ/4D1IqSKX6yvqTAeLmyW9wX1Ose O8jMgg6fyhx3pd776FTqLTwYHVtmUsx5oVpxFcdfRti2e7vf8K+tha+KjBdH6jQxF7es V3f5KcqJ6MEE+/4gnR7dcJMiOyyz5McXOOK5UstZN7jKdO6Ocb9X1NlJW7fRPkIthO3j dsaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BmxCJ8mZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h3-20020a655183000000b005c65d0dd99fsi5900387pgq.505.2023.12.11.05.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:00:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BmxCJ8mZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6F3928042D3B; Mon, 11 Dec 2023 05:00:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343581AbjLKNAl (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Mon, 11 Dec 2023 08:00:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343613AbjLKNAV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 11 Dec 2023 08:00:21 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35445127; Mon, 11 Dec 2023 05:00:25 -0800 (PST) Received: from umang.jain (unknown [103.251.226.68]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B3716922; Mon, 11 Dec 2023 13:59:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1702299580; bh=zV/RIEdgSrvIS1kxne2Y4K//Y+viiimnpU5CN163GOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BmxCJ8mZlLxROcoDIpc4daiKA/1PPC02aFqo2RmKA50OPJLZ6M38kdGTYyfuHzpUk P0wdmSUmWyoQs2dMaUnW5p1ADX6qEXt6qvEaMDeOTCM2ILzXFWYv6SNW8XxH28hRdQ rRik7C39Q39KKZv3GqdG3Phd2IBKTueS+rLbe6EQ= From: Umang Jain <umang.jain@ideasonboard.com> To: devicetree@vger.kernel.org, linux-media@vger.kernel.org Cc: "Paul J . Murphy" <paul.j.murphy@intel.com>, Daniele Alessandrelli <daniele.alessandrelli@intel.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Kieran Bingham <kieran.bingham@ideasonboard.com>, Umang Jain <umang.jain@ideasonboard.com>, linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 6/7] media: i2c: imx335: Fix hblank min/max values Date: Mon, 11 Dec 2023 18:29:48 +0530 Message-ID: <20231211125950.108092-7-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211125950.108092-1-umang.jain@ideasonboard.com> References: <20231211125950.108092-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 05:00:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784990563296985953 X-GMAIL-MSGID: 1784990563296985953 |
Series |
[v4,1/7] media: dt-bindings: media: imx335: Add supply bindings
|
|
Commit Message
Umang Jain
Dec. 11, 2023, 12:59 p.m. UTC
From: Kieran Bingham <kieran.bingham@ideasonboard.com> The V4L2_CID_HBLANK control is marked as readonly and can only be a single value. Set the minimum and maximum value to match the mode value. Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- drivers/media/i2c/imx335.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/imx335.c b/drivers/media/i2c/imx335.c index a924b7222ca3..f353647a0d4e 100644 --- a/drivers/media/i2c/imx335.c +++ b/drivers/media/i2c/imx335.c @@ -1043,8 +1043,8 @@ static int imx335_init_controls(struct imx335 *imx335) imx335->hblank_ctrl = v4l2_ctrl_new_std(ctrl_hdlr, &imx335_ctrl_ops, V4L2_CID_HBLANK, - IMX335_REG_MIN, - IMX335_REG_MAX, + mode->hblank, + mode->hblank, 1, mode->hblank); if (imx335->hblank_ctrl) imx335->hblank_ctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY;