]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: i2c: Fix typos in comments across various files
authorYu Jiaoliang <yujiaoliang@vivo.com>
Wed, 25 Sep 2024 06:59:01 +0000 (14:59 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:36 +0000 (09:32 +0200)
This commit corrects spelling errors in comments within
the media/i2c directory found by codespell to enhance clarity
and maintainability of the code.
This change does not affect the functionality.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/hi556.c
drivers/media/i2c/ov2740.c
drivers/media/i2c/ov5640.c
drivers/media/i2c/ov5670.c
drivers/media/i2c/ov5675.c
drivers/media/i2c/ov772x.c
drivers/media/i2c/ov7740.c
drivers/media/i2c/ov8856.c
drivers/media/i2c/ov9650.c
drivers/media/i2c/ov9734.c

index b440f386f0622ef777b2d4685ed817c15127d2bb..2aeaf8214bc4f08df896223c4ea79d499666fde4 100644 (file)
@@ -644,7 +644,7 @@ struct hi556 {
        /* Current mode */
        const struct hi556_mode *cur_mode;
 
-       /* To serialize asynchronus callbacks */
+       /* To serialize asynchronous callbacks */
        struct mutex mutex;
 
        /* True if the device has been identified */
index c48dbcde98770d43f9f1dd53725d15127c457d2f..14cbf2d699a93713af90ed7375a4bb3c30e56c91 100644 (file)
@@ -530,7 +530,7 @@ struct ov2740 {
        /* Current mode */
        const struct ov2740_mode *cur_mode;
 
-       /* NVM data inforamtion */
+       /* NVM data information */
        struct nvm_data *nvm;
 
        /* Supported modes */
index c1d3fce4a7d383980f9160e32dfc95a8c0efca06..da5cb5f45a4ff5b56c41de2143ac5a331f979e54 100644 (file)
@@ -377,7 +377,7 @@ struct reg_value {
 struct ov5640_timings {
        /* Analog crop rectangle. */
        struct v4l2_rect analog_crop;
-       /* Visibile crop: from analog crop top-left corner. */
+       /* Visible crop: from analog crop top-left corner. */
        struct v4l2_rect crop;
        /* Total pixels per line: width + fixed hblank. */
        u32 htot;
index 2aee85965cf73a382a7f90ee9482fce694cb5a71..0a1d7a98bdf492297a790a3eed850d1a60708ee6 100644 (file)
@@ -1879,7 +1879,7 @@ struct ov5670 {
        struct gpio_desc *pwdn_gpio; /* PWDNB pin. */
        struct gpio_desc *reset_gpio; /* XSHUTDOWN pin. */
 
-       /* To serialize asynchronus callbacks */
+       /* To serialize asynchronous callbacks */
        struct mutex mutex;
 
        /* True if the device has been identified */
index 5b5127f8953ff4182704b32b2f6c9194cf4b6e13..b6f25bed43ffe030a9ef5f7a05fb48f1cb2fb474 100644 (file)
@@ -510,7 +510,7 @@ struct ov5675 {
        /* Current mode */
        const struct ov5675_mode *cur_mode;
 
-       /* To serialize asynchronus callbacks */
+       /* To serialize asynchronous callbacks */
        struct mutex mutex;
 
        /* True if the device has been identified */
@@ -732,7 +732,7 @@ static int ov5675_set_ctrl(struct v4l2_ctrl *ctrl)
        case V4L2_CID_EXPOSURE:
                /* 4 least significant bits of expsoure are fractional part
                 * val = val << 4
-                * for ov5675, the unit of exposure is differnt from other
+                * for ov5675, the unit of exposure is different from other
                 * OmniVision sensors, its exposure value is twice of the
                 * register value, the exposure should be divided by 2 before
                 * set register, e.g. val << 3.
index 3b0fdb3c70c0b380b914e745ff6824e56aaf4388..062e1023a411ea50ac0dcff9e324b4f8992e5636 100644 (file)
 #define AF_8x           0x08   /*     Add frame when AGC reaches  8x gain */
 #define AF_16x          0x0c   /* Add frame when AGC reaches 16x gain */
                                /* AEC max step control */
-#define AEC_NO_LIMIT    0x01   /*   0 : AEC incease step has limit */
+#define AEC_NO_LIMIT    0x01   /*   0 : AEC increase step has limit */
                                /*   1 : No limit to AEC increase step */
 /* CLKRC */
                                /* Input clock divider register */
index 0830676e5d5a40b19c83e7b3e6ccbd306e3ce4c7..1f1c0de8e510d2d65de6ce1af5fd3584a3532a08 100644 (file)
@@ -117,7 +117,7 @@ struct ov7740 {
        struct v4l2_ctrl *brightness;
        struct v4l2_ctrl *contrast;
 
-       struct mutex mutex;     /* To serialize asynchronus callbacks */
+       struct mutex mutex;     /* To serialize asynchronous callbacks */
 
        struct gpio_desc *resetb_gpio;
        struct gpio_desc *pwdn_gpio;
index 6ffe10e57b5b14a1c582623779d151fe6d0e0339..fc45b6396cdf9966201774b445d1294a4b814870 100644 (file)
@@ -1435,7 +1435,7 @@ struct ov8856 {
        /* Application specified mbus format */
        u32 cur_mbus_index;
 
-       /* To serialize asynchronus callbacks */
+       /* To serialize asynchronous callbacks */
        struct mutex mutex;
 
        /* lanes index */
index 56df97c9886b51f9a0ab0fa0a5493f2029d89bff..026ea34d62914c576203ac697c5dbac8e3f09527 100644 (file)
@@ -286,7 +286,7 @@ static const struct i2c_rv ov965x_init_regs[] = {
        { REG_COM5, 0x00 },     /* System clock options */
        { REG_COM2, 0x01 },     /* Output drive, soft sleep mode */
        { REG_COM10, 0x00 },    /* Slave mode, HREF vs HSYNC, signals negate */
-       { REG_EDGE, 0xa6 },     /* Edge enhancement treshhold and factor */
+       { REG_EDGE, 0xa6 },     /* Edge enhancement threshold and factor */
        { REG_COM16, 0x02 },    /* Color matrix coeff double option */
        { REG_COM17, 0x08 },    /* Single frame out, banding filter */
        { 0x16, 0x06 },
index d997285974318f1332043a19b5e660d4a058db00..1809a82ff0afebf11778844bbebfc8088867531a 100644 (file)
@@ -335,7 +335,7 @@ struct ov9734 {
        /* Current mode */
        const struct ov9734_mode *cur_mode;
 
-       /* To serialize asynchronus callbacks */
+       /* To serialize asynchronous callbacks */
        struct mutex mutex;
 };