Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2770678lqz; Wed, 3 Apr 2024 08:10:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQjbRT+YN0e3LWNf2QyBUC5yTIqac29scoKqVjPnJ5dqf03uf+1C+01OTbKgxBKCjHsKppI9Cd4K6BN3W0czyEuWatoLDEPZSmYuilVw== X-Google-Smtp-Source: AGHT+IGkbV/Q+5mAOTZzH9P0TdiD0Qo3gFwy342A7GCVHcxuBUjcav/KXDtElaDCG6zsb3+lcrjQ X-Received: by 2002:a17:906:2552:b0:a4e:516b:2fea with SMTP id j18-20020a170906255200b00a4e516b2feamr2185090ejb.50.1712157026502; Wed, 03 Apr 2024 08:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712157026; cv=pass; d=google.com; s=arc-20160816; b=HLw8OTOnwVPz7Cg3M8n0uN/5/+/aG6AWC7Htk4+d5ld+ydGCeO0NrJcIrsNqzCoze4 6HQ5OOlLo1h0248KMoGJyMYlURgbLqAqWOmplPtodHVU8UAQsKGH0QHh27IBYF3dVnSI ejYCa6fJrXriHlaK949Osww912deQk4KvnYUB4Yjq6212u1eC/oRQbbqNwkVbBrXLyb6 yHLIQ0MWdfSfSfU4nguafqnpQ7cfBPXiaXYpoKPoPt1G/BtbvX8t7kgtKiqR3bZfQ/hq /VyJjX+PGWPkOOdrvjoVnzXVSMGk1CaADQilfqBXrCgNvUjU5VKNIDaTPz5yEgpH7sJf H4Og== 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=A5USQN4/h/HmEuUVVMz6q8rv2sJt6lF+TSZcmadaFDA=; fh=ng0FUFwPgHHqIHtWcUlLUSBs0e7fHIUGeuUhfcQSRgA=; b=bbxmvmljbBtQN+9cgqCfckT/znO3WCH8VLOX0ixPR+sdE4ePMrEuvy1GpQI5v2DyWP 4dKTdggYyjypPkhgv8PwDZNq1yUsOFVZAAFM9ej2XzbBNLGz+LoxNyfl7SDtNagHT44b kuR4lnzg05bD4QP+tv+G9VCzwtacwM8IHBArS2H3N6SmH2joXV79udUofu3oR1VHKmmz umafRpQKKhglTK7v+05VXSNf8st8CTmcT43uIuml+zlJKxuY9yaJX2jWL+vO4BuvR6U2 dX3eiww1ubgJ3ha89ft1x8SxN2E9n6eBFQYeQcvf9NUcicPP9TJ7Y4/hUakvoSiRTvpP JPEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@luigi311.com header.s=x header.b=fV06Zg9W; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-130047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130047-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 x2-20020a1709060a4200b00a5009aaa2b0si524533ejf.1035.2024.04.03.08.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 08:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130047-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=fV06Zg9W; arc=pass (i=1 spf=pass spfdomain=luigi311.com dkim=pass dkdomain=luigi311.com); spf=pass (google.com: domain of linux-kernel+bounces-130047-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130047-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 7A74C1F2364B for ; Wed, 3 Apr 2024 15:10:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22F8B14A091; Wed, 3 Apr 2024 15:08:41 +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="fV06Zg9W" Received: from mail-108-mta7.mxroute.com (mail-108-mta7.mxroute.com [136.175.108.7]) (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 B6D1F14A092 for ; Wed, 3 Apr 2024 15:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.175.108.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156920; cv=none; b=o7CS4oCZlev486BrgfeOIrxb0DCpmYf9HavIYaaNSfQCb4b/enf/8QOXlIIQTv2viwUMnePFWw7TEE6tDotQxN/LYvT5eJrWd1D/LYNxlwXY7qPpcEjwC4Qg2XyNDqKpVhWmmCfwWvcY1N5kWHd6n355Sv+EgiKgDc+NCquyTuY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156920; c=relaxed/simple; bh=7PlAfVztKQMARKBbcpVjFWXyV1tsnHi7QOOFhMQbxgI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h/rhx2fFFNPI7ufZ255hPWDk8XQVsyrogsakN7lf9tbgoJdGumqh04Dfg1okLi5PUNCMbaIL0jwclcA//sEI9IBFUa9vv9SN9Oc2hmWwYmbPt7tYin8eIunJYZ60g/upO0v0urCUw5HH76T6T4knU0v2H3RVL1033dxT4jSAeV8= 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=fV06Zg9W; arc=none smtp.client-ip=136.175.108.7 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-mta7.mxroute.com (ZoneMTA) with ESMTPSA id 18ea4806d450003bea.010 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 03 Apr 2024 15:07:43 +0000 X-Zone-Loop: 5d8e621380ac9e0b3a21c677ed69a0c455a42ef4a2f6 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=A5USQN4/h/HmEuUVVMz6q8rv2sJt6lF+TSZcmadaFDA=; b=fV06Zg9WcJDysEv6YoDTj10Wkb 8EbQWsa+xhaFRiNbrerrWg3hcn0p7dt93VMDkYCKxXhGwvsKu7+TSyOse0v9Hg7CphoTZVRStKZIy d9Zncoinm1XODf+3oLTE8n6IHnFVgG3HHnMtwR6xrwSwjN39eSRc65gpwpu2Nb8VIYL4HbXJaoJaA MwjO0HexoawzdiDk0Pow1cD8E0LoVLP8Gn6ARvhW2bh07bpce+s1n3QEw3m/4DAcr8xWguLAOJlBJ 3fUuk8+Mie8d1fqYpOdzzASFkZ7tD0eJHdKowPsLIbsolPA6MKpFl+so0qvy4obaT4gdSaJkKXdYs e0XT39Hw==; 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 v3 13/25] media: i2c: imx258: Correct max FRM_LENGTH_LINES value Date: Wed, 3 Apr 2024 09:03:42 -0600 Message-ID: <20240403150355.189229-14-git@luigi311.com> In-Reply-To: <20240403150355.189229-1-git@luigi311.com> References: <20240403150355.189229-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 --- 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 692a5aeb7941..5a5bf2b25bdf 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.42.0