From patchwork Thu Jan 11 04:33:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13516760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65F3EC47077 for ; Thu, 11 Jan 2024 04:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8dM+/VmMMgxmVtlpYjCRYtBzmHRBAT/GFslogiGCD2E=; b=2qv6FlicB2OKWo LX/rG5Z/wS34ZcpMDYaGsvNmCmPOMT4uzThXabQuBC5HmUGTyX3v4/YRi5XWOqBdxg2h8oAaZYRiE m2IQXDJ6osbnS1IEyW1AoDoPEiwvqayun3U2mxTNa/Z4ZP7LJWdAYv3rAiBFTS1IqwtQY2kLuzhP3 eYs0jOUCfMwx1MNAOhCxHKzIMNmhZG5mBRInfwXXDIyh2OUplfa/GGREwCqcGYQV5R0F60KVfdr4G NoQhViNEU9I5ngtiVeiTw6kvNj3bl41Ig7w1KxQLcvDIz84TEKRYFJeYC8NBG5ye2h8tfncQCw4Nk AB0hj+aZxg8Eb75FUgvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNmkb-00FoRB-0v; Thu, 11 Jan 2024 04:33:05 +0000 Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rNmkZ-00FoQb-0u; Thu, 11 Jan 2024 04:33:03 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , =?utf-8?q?Krzysztof_Ha=C5=82asa?= , Shawn Guo , Sascha Hauer , Mauro Carvalho Chehab , Sakari Ailus , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: [PATCH] media: i2c: ar0521: fix spellos Date: Wed, 10 Jan 2024 20:33:01 -0800 Message-ID: <20240111043302.15641-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix spelling mistakes as reported by codespell. Signed-off-by: Randy Dunlap Cc: Krzysztof Hałasa Cc: Shawn Guo Cc: Sascha Hauer Cc: Mauro Carvalho Chehab Cc: Sakari Ailus Cc: linux-arm-kernel@lists.infradead.org Cc: linux-media@vger.kernel.org Acked-by: Krzysztof Hałasa --- drivers/media/i2c/ar0521.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/drivers/media/i2c/ar0521.c b/drivers/media/i2c/ar0521.c --- a/drivers/media/i2c/ar0521.c +++ b/drivers/media/i2c/ar0521.c @@ -314,7 +314,7 @@ static void ar0521_calc_pll(struct ar052 * In the clock tree: * MIPI_CLK = PIXEL_CLOCK * bpp / 2 / 2 * - * Generic pixel_rate to bus clock frequencey equation: + * Generic pixel_rate to bus clock frequency equation: * MIPI_CLK = V4L2_CID_PIXEL_RATE * bpp / lanes / 2 * * From which we derive the PIXEL_CLOCK to use in the clock tree: @@ -327,7 +327,7 @@ static void ar0521_calc_pll(struct ar052 * * TODO: in case we have less data lanes we have to reduce the desired * VCO not to exceed the limits specified by the datasheet and - * consequentially reduce the obtained pixel clock. + * consequently reduce the obtained pixel clock. */ pixel_clock = AR0521_PIXEL_CLOCK_RATE * 2 / sensor->lane_count; bpp = ar0521_code_to_bpp(sensor); @@ -806,7 +806,7 @@ static const struct initial_reg { REGS(be(0x3F00), be(0x0017), /* 3F00: BM_T0 */ be(0x02DD), /* 3F02: BM_T1 */ - /* 3F04: if Ana_gain less than 2, use noise_floor0, multipl */ + /* 3F04: if Ana_gain less than 2, use noise_floor0, multiply */ be(0x0020), /* 3F06: if Ana_gain between 4 and 7, use noise_floor2 and */ be(0x0040),