Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1085496lqp; Sun, 14 Apr 2024 13:42:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzLldIBaSF4Sx1HCSnMNjmZ5IDSrQxmg1bzdn3Uqrv3nAytf9gzQvL78I3IGh+d26ycbh2ceJS6JV29t8iuq8rI5hDlLUpBPe8qc3nqA== X-Google-Smtp-Source: AGHT+IEiCAwL2uJXHUoSI6QUpxCeiToXYnNIHyT5aB1aDKsZTAo6WahaJTvInpl+m3I4CW6EoU5g X-Received: by 2002:a50:d5c4:0:b0:56e:3175:6065 with SMTP id g4-20020a50d5c4000000b0056e31756065mr6319987edj.9.1713127378364; Sun, 14 Apr 2024 13:42:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713127378; cv=pass; d=google.com; s=arc-20160816; b=iLCqx+SfODdYOe2sa1m81lkcdVhTO5YrTAzHM727KAHEzY6B9t7KXqNjJY/cz8DYGR QjXzY5IL8vkJysFHttGxt8Aie6Vh5m1RzuX5lH69usqAaIX+QXFMupprlNGrKvcBT5/J DSS4oZGd3tt6Qs4gyWNyCh6T8bEjQUaHlwweyXORJOENheMkv+Q7nHmpnlgg++EqNfKR Lq5ViuEX7W7PIjynr8KZy358UgXE2mDCu6xhgSw3VZ7VV4YGxT2xsiHuebDBN9Mlg/C+ t40i2Rrk/0gsWvaBfEl4Yki5NFu8BCRXbw5o9aHuPSmrWrtLo6uSXIwfezSgvmJS+/YE Kudg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eDZZF6N9fGs2w7erh1JS+Jobb378vgl6f0WBmuxrApM=; fh=ng0FUFwPgHHqIHtWcUlLUSBs0e7fHIUGeuUhfcQSRgA=; b=Rjj7yQHdYTXaepDEtt+5P/E4NXskFPg6YpbKlz2vqiW/nkKZniIcMTZLtChIi9fk3g w+Tbin8dRlfJKTld9R7zv5YKJCXVtX7+nQpVLmTMpmGHIYYF2Bz8CLMKy43gAQvM2Mph eHAPQIWfFGXtVDopgf4Xw2Zu4F1EebbgiluO/vMe4X+mJeKGawmKDXtrTJRMgPwZmLOn BmFdgiNMPv3Ztiq62FxqeEzGYuY9+AQqDhhBe45n3T1rT5EM5qfz7h6vWZbO3I0/I9ok uBa2V/DWDgj4AhYYFBrkTpMFVLjWqxE9/SsTggHD5EutWjg0155eXx3V5JY1JQrSNVvH XONg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=E2ReMS2Q; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-144390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144390-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r16-20020a056402235000b005700e6d45ffsi1961910eda.597.2024.04.14.13.42.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 13:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=E2ReMS2Q; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-144390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144390-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BEA831F214E3 for ; Sun, 14 Apr 2024 20:42:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDF071386B5; Sun, 14 Apr 2024 20:41:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=luigi311.com header.i=@luigi311.com header.b="E2ReMS2Q" Received: from mail-108-mta48.mxroute.com (mail-108-mta48.mxroute.com [136.175.108.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ED35138482 for ; Sun, 14 Apr 2024 20:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713127308; cv=none; b=MPzJb+3Sh1E1yQBtvk5szNZGxw5DiF/STfWcEvJDIgeFsV/KqyuVSJgUjK8JJChwpEEP/S1AczD42F6Jd1LZf3WsZdq0oPCGPi5CIkhByff9YxTmfANjFOch0gYehrsVCGJqJIIQXlg6d7b4a4a4GqkaQrJDTOXgLbPosCVefq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713127308; c=relaxed/simple; bh=oCSJBQE3aiwqbmfu1EJ9a36gJDCKL6HMUjBrjCIJ3ow=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cecxA4y9ibxQCLTdXBGHFVdUYqO3GOb2CtMUx3HIwd9tnKuGCNGkzn4WxzJfvKmDyLRk7yYwkPyZLgEJMhHYrLI3QM6JFHkDeq94Uj+JR7FwFWBbrDLQiMQ/J9nJtyVwUfokWvG7zP26ZuKnXM2tK0pzqYMQbZEX+7ADkBoTbUs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=luigi311.com; spf=pass smtp.mailfrom=luigi311.com; dkim=pass (2048-bit key) header.d=luigi311.com header.i=@luigi311.com header.b=E2ReMS2Q; arc=none smtp.client-ip=136.175.108.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=luigi311.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=luigi311.com Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta48.mxroute.com (ZoneMTA) with ESMTPSA id 18ede5298af0003bea.010 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 14 Apr 2024 20:35:38 +0000 X-Zone-Loop: f00d8247a1f48b1489437f692a909b4bb6cd9d11b596 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=luigi311.com; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eDZZF6N9fGs2w7erh1JS+Jobb378vgl6f0WBmuxrApM=; b=E2ReMS2QZiq57wS/HGDJv5IqqF LjtzALl4EKJP4Yu+wndo4l7jpPv99ukXrFKdXgGlrETEteuB7HJ1TVJ06qeB6MurGy6FUA2gCbW8W Pm0MwzkdBgqexuy9X3xvcOXp1DgqJlMqTWoc3DroFWp92Gmh/6N6ejqVjpWUk9NTcoDO3f8zXbz95 rCLVDPAPDwf2epx3FCp7YcMqKcLmqIanP6HG00ahtGpbidaKZSAOYDguY18QNHu9G10wtUPcy1Dm/ alTsGTbQMDzztQGsrPmd9A+ERWCShngK7lWpkxPPaep/UN6om9nB1Q+CGnCADrAf06LbY1WtQLRSN zmz+FlLQ==; From: git@luigi311.com To: linux-media@vger.kernel.org Cc: dave.stevenson@raspberrypi.com, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, sakari.ailus@linux.intel.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, phone-devel@vger.kernel.org, Luis Garcia Subject: [PATCH v4 13/25] media: i2c: imx258: Correct max FRM_LENGTH_LINES value Date: Sun, 14 Apr 2024 14:34:51 -0600 Message-ID: <20240414203503.18402-14-git@luigi311.com> In-Reply-To: <20240414203503.18402-1-git@luigi311.com> References: <20240414203503.18402-1-git@luigi311.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Id: personal@luigi311.com From: Dave Stevenson The data sheet states that the maximum value for registers 0x0340/0x0341 FRM_LENGTH_LINES is 65525(decimal), not the 0xFFFF defined in this driver. Correct this limit. Signed-off-by: Dave Stevenson Reviewed-by: Jacopo Mondi Signed-off-by: Luis Garcia Reviewed-by: Pavel Machek --- drivers/media/i2c/imx258.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx258.c b/drivers/media/i2c/imx258.c index 2429eb7b55c6..c1a2c2406aaa 100644 --- a/drivers/media/i2c/imx258.c +++ b/drivers/media/i2c/imx258.c @@ -28,7 +28,7 @@ #define IMX258_VTS_30FPS 0x0c50 #define IMX258_VTS_30FPS_2K 0x0638 #define IMX258_VTS_30FPS_VGA 0x034c -#define IMX258_VTS_MAX 0xffff +#define IMX258_VTS_MAX 65525 #define IMX258_REG_VTS 0x0340 -- 2.44.0