2024-01-11 04:33:23

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] media: i2c: ar0521: fix spellos

Fix spelling mistakes as reported by codespell.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Krzysztof Hałasa <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Sakari Ailus <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
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),


2024-01-22 05:39:09

by Krzysztof Hałasa

[permalink] [raw]
Subject: Re: [PATCH] media: i2c: ar0521: fix spellos

Hi Randy,

Good catches, thanks for your work.

Randy Dunlap <[email protected]> writes:

> Fix spelling mistakes as reported by codespell.

Acked-by: Krzysztof Hałasa <[email protected]>

> --- 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),
>
>

--
Krzysztof "Chris" Hałasa

Sieć Badawcza Łukasiewicz
Przemysłowy Instytut Automatyki i Pomiarów PIAP
Al. Jerozolimskie 202, 02-486 Warszawa