Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp507893pxx; Wed, 28 Oct 2020 09:55:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWEpZosYfehtMPP2pgK1ppQYBQcGrmD5N/P5SYB8kYPaVyRYEFYY9hXOR3cmrYzWJ7RvB7 X-Received: by 2002:a50:c40c:: with SMTP id v12mr8686774edf.233.1603904101661; Wed, 28 Oct 2020 09:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603904101; cv=none; d=google.com; s=arc-20160816; b=mh08jtpEHTrgBPjyeaO8KhmljKgLqPyVZkaz7ZhImrKewri/94lHyPV353U/vWq54v 2/RBjbHpzOguWWTLPTLssBBfGYv6MO2d3BiHUAR+/fUVBxGMUobPet1Vx+W0qbzQhwA9 leP+xvSJ4NUSQDiHQkH58lzsrLK9BJtokmG66aX4y7YcZLhb98Bf01KR/EACfrBxpflI Tin9j7wNmpoRAUCqt0wt49XUMXM5vMKJs807wOiIcO8cHtRNYLXuzz8FZtDRiWUPIj6T WdnwFdPEgMUQ7Op/TkWDwpCYw5rBPMQX4nylf4Q3WWvCbiW5Qtsd4RgM9STP79EI3RgQ dVHg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0D/Cu7pLa/iM20TPphpgQOSo+Up2Zyt6LtbUkVQYNCQ=; b=eVLF1IdHcPlSp9M+DsTt9AGXZu8gXYEJKNWg60sB/QjoxuLxfgfoAiX2YKPytMjQmZ tROddMA/3hJkN+S3dsDcDyJkTDedbNxfxLRY5OuSELjnCFF4EJQqGW7i2wfnEP2Dzhpd R1hG6kEcR73lda8sYI9BUbh2KL+woAeU4b1AYZArSC65faK9AH19gBJEnUWDrBUadj0g Mvieeeg4zXZNQj9e8UrExF8sUAMNk7d3fbVF4/mRtkJrsRIVagNTankVda9WDHb41e2w 8s7SjbrQIfPh178X/pn7WeQmnoV4jIJcJUgglzmmlKWFwrYW6iAOSNxD5PxreA/noeP2 Sjpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=glr7LGYT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si18713edm.295.2020.10.28.09.54.39; Wed, 28 Oct 2020 09:55:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=glr7LGYT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1818875AbgJ0RYd (ORCPT + 99 others); Tue, 27 Oct 2020 13:24:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:54550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2900789AbgJ0OyI (ORCPT ); Tue, 27 Oct 2020 10:54:08 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5D5F122284; Tue, 27 Oct 2020 14:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603810447; bh=9agzTw2lxEcHyiQ7pb1YWlvOVAsdUWDDOwoSjGA03co=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=glr7LGYT7xE0luPFx/eXJbUceAD4tb/kloecho457DhFU5LIONpkGgqRE9P/1x5qH 9swcSRmsqWjo+OBTU5r0YDjQ0WGP4zxYda4YUU4MKlRuvrasc26UhIQr58UnEXlggT +LlYmgz8oR/MXdLetL8gm0G4AirZ5i82DJ2EzPdk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Kocialkowski , Jacopo Mondi , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.8 112/633] media: ov5640: Correct Bit Div register in clock tree diagram Date: Tue, 27 Oct 2020 14:47:35 +0100 Message-Id: <20201027135527.946044315@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Kocialkowski [ Upstream commit 4c85f628f6639e3e3e0a7788416154f28dfcae4f ] Although the code is correct and doing the right thing, the clock diagram showed the wrong register for the bit divider, which had me doubting the understanding of the tree. Fix this to avoid doubts in the future. Signed-off-by: Paul Kocialkowski Fixes: aa2882481cada ("media: ov5640: Adjust the clock based on the expected rate") Acked-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/i2c/ov5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c index 2fe4a7ac05929..ab19e04720d3a 100644 --- a/drivers/media/i2c/ov5640.c +++ b/drivers/media/i2c/ov5640.c @@ -751,7 +751,7 @@ static int ov5640_mod_reg(struct ov5640_dev *sensor, u16 reg, * +->| PLL Root Div | - reg 0x3037, bit 4 * +-+------------+ * | +---------+ - * +->| Bit Div | - reg 0x3035, bits 0-3 + * +->| Bit Div | - reg 0x3034, bits 0-3 * +-+-------+ * | +-------------+ * +->| SCLK Div | - reg 0x3108, bits 0-1 -- 2.25.1