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: 187168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1225584dyi; Wed, 10 Jan 2024 20:33:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7xPKi7UaheJyb9+2yHtnFeIFYhxGEwe3b6Hc6Rld3x5bH8atPM+XVqOAIlCnC23Bnph7v X-Received: by 2002:a05:6214:cac:b0:680:f9a3:ce50 with SMTP id s12-20020a0562140cac00b00680f9a3ce50mr613916qvs.111.1704947610609; Wed, 10 Jan 2024 20:33:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704947610; cv=none; d=google.com; s=arc-20160816; b=TGKDl0n17zMefcIVGR3IsYidOwUeSGm0oyrgwvEH4WSSulCoMfkLNmGTFWd8YVejjj 3V/eXp7eDY8Nh9C4fQk5st4oernqxxWuc2FSdHIuZ8ueVNdXIf86RFLC6yxF6Pp0kRR/ jQQo60upI4/652145Eej9FSRIhUQuWA74LdpjuznnfGjir0hlMIGEcqRypSkrx1v9h2h YZGwW6LsVV08RGw/b8Al+ZbKgJK/KB/CVRK0zm/ck6Mtv7JokiZ8ibUWYMYniEBMJQv9 j6FMdu2fCfUGAR1fbE71UD7h30YCrRGKXMY4SSUnqtmJnZevpzK1KPYRZ4ywlUl+u3Va LkLw== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=PNGr7mm7W6jEYqSL7CGorGDhPjZNBHJ1TG0EblhInQw=; fh=Y7hKxwMltshVmzmwyqI0wuyiYlCNC6hxGltuf+PixlE=; b=pG38cv+Xx/aCvWEVbfL3gMFIdTD3dwqeUgQqQu0Bt3BWvjyef3SbIgMpLSvfqMeGOG Cu64Onde1JooIEsOu99u0UaWSJAyhicXwuQLKIKUBw0gUkoRvOzxF9+ecPzzrL68r+jb AhQ/IroyhIRk+TWylLIZkIW0rGmHBOpTrmPIHW7eMHffllbc4sBP1dsrjgx1y/g7b0d0 Hi/dw9/x6R7rBwcSRBJsIOf1/n528IyeYFEWX0OBSmHCPvi1J6KnTa4+GCJvyFDkKR09 mNiIwGTIVBPZBBJDPA+6uqXDPVevi/v/A70p1EALSPMuoJsHVFlS83SwPQbeBDqfb5/m f7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aGt9xoNa; spf=pass (google.com: domain of linux-kernel+bounces-23060-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23060-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x6-20020a0cb206000000b006807fab8d4esi120944qvd.74.2024.01.10.20.33.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 20:33:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23060-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aGt9xoNa; spf=pass (google.com: domain of linux-kernel+bounces-23060-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23060-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 67EBA1C22EFE for ; Thu, 11 Jan 2024 04:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5846623CD; Thu, 11 Jan 2024 04:33:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="aGt9xoNa" 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.subspace.kernel.org (Postfix) with ESMTPS id C34E417D4; Thu, 11 Jan 2024 04:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=PNGr7mm7W6jEYqSL7CGorGDhPjZNBHJ1TG0EblhInQw=; b=aGt9xoNaOOH0v5qI+JviYeT10y mZxrFvCCOI7G3s9QmnInPJKIwyrd9HCCZZRg/XHdrOraIxouADtmztks0oLCQGuQ81GQHYAmGZMqd bUhgXLImFlI/WOM+bR1VpoKljQj6gjYN0jHJk8SXF8swbIVAJrZMNL1a3s5hveCDBOwgQivhO2q2O d4qcrzVHqEMhk3zylS4U3miBPrU7rfm/QG1APWUXGlQq/27+sRATOGeBJNjVGaKg3zVJjR9Mm7G9d xC5xyCErXi+/3adaTf8kkEgKcmkLSXnCwULT6/7dlYos5AgSNe84VbILm7goulfPhvHtPc5RBwwnW n0JN38EA==; 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787767145367091795 X-GMAIL-MSGID: 1787767145367091795 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),