]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
input: Fix typos in comments across various files
authorYu Jiaoliang <yujiaoliang@vivo.com>
Thu, 26 Sep 2024 03:14:43 +0000 (11:14 +0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Sep 2024 14:58:33 +0000 (07:58 -0700)
This commit fixes several typographical errors in comments within
the driver/input directory. No functional changes are made.

Detected using codespell.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Reviewed-by: Oliver Graute <oliver.graute@kococonnector.com>
Link: https://lore.kernel.org/r/20240926031457.3479350-1-yujiaoliang@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/auo-pixcir-ts.c
drivers/input/touchscreen/bcm_iproc_tsc.c
drivers/input/touchscreen/edt-ft5x06.c
drivers/input/touchscreen/ili210x.c
drivers/input/touchscreen/pixcir_i2c_ts.c
drivers/input/touchscreen/rohm_bu21023.c
drivers/input/touchscreen/stmpe-ts.c
drivers/input/touchscreen/wm97xx-core.c

index 8db2a112a4767315ef7852c05daa843cc0983e0e..363a4a1f1560e90c7479ddf5f231a28e0f0ecc56 100644 (file)
@@ -72,7 +72,7 @@
 
 /*
  * Interrupt modes:
- * periodical:         interrupt is asserted periodicaly
+ * periodical:         interrupt is asserted periodically
  * compare coordinates:        interrupt is asserted when coordinates change
  * indicate touch:     interrupt is asserted during touch
  */
index 9c84235327bfb778e44740eaf2356d8a254ab794..e49bde50d77a2284864b2e06b70203b27c7ed7a8 100644 (file)
@@ -217,7 +217,7 @@ static irqreturn_t iproc_touchscreen_interrupt(int irq, void *data)
                        "pen up-down (%d)\n", priv->pen_status);
        }
 
-       /* coordinates in FIFO exceed the theshold */
+       /* coordinates in FIFO exceed the threshold */
        if (intr_status & TS_FIFO_INTR_MASK) {
                for (i = 0; i < priv->cfg_params.fifo_threshold; i++) {
                        regmap_read(priv->regmap, FIFO_DATA, &raw_coordinate);
index e70415f189a5566191717ac585dac2fbaa95afbf..8c77e9f347c52f2ef9b16da254e4f2ca4816bbcd 100644 (file)
@@ -1219,7 +1219,7 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client)
        }
 
        /*
-        * Check which sleep modes we can support. Power-off requieres the
+        * Check which sleep modes we can support. Power-off requires the
         * reset-pin to ensure correct power-down/power-up behaviour. Start with
         * the EDT_PMODE_POWEROFF test since this is the deepest possible sleep
         * mode.
index 4573844c3395a3815273364a8bff40a2be8bda7d..a8ecd0f980cb878a50663b347d208f89cb099cb7 100644 (file)
@@ -898,7 +898,7 @@ static umode_t ili210x_attributes_visible(struct kobject *kobj,
        if (attr == &dev_attr_calibrate.attr)
                return priv->chip->has_calibrate_reg ? attr->mode : 0;
 
-       /* Firmware/Kernel/Protocol/BootMode is implememted only for ILI251x */
+       /* Firmware/Kernel/Protocol/BootMode is implemented only for ILI251x */
        if (!priv->chip->has_firmware_proto)
                return 0;
 
index 4ede0687beb096565a88bd60fe3e36b55e258f43..1ea0b12b2635bf0d8f3b6e8355d7d5cda79c13ec 100644 (file)
@@ -44,7 +44,7 @@ enum pixcir_power_mode {
 
 /*
  * Interrupt modes:
- * periodical: interrupt is asserted periodicaly
+ * periodical: interrupt is asserted periodically
  * diff coordinates: interrupt is asserted when coordinates change
  * level on touch: interrupt level asserted during touch
  * pulse on touch: interrupt pulse asserted during touch
index 0e5cc9fbad177783d90c6b3ffeb5042f3eef8b9c..295d8d75ba3224abd27a1a6275ac29d6a734f1ea 100644 (file)
@@ -388,13 +388,13 @@ static int rohm_ts_manual_calibration(struct rohm_ts_data *ts)
                        err_y = (int)READ_CALIB_BUF(PRM1_Y_H) << 2 |
                                READ_CALIB_BUF(PRM1_Y_L);
 
-                       /* X axis ajust */
+                       /* X axis adjust */
                        if (err_x <= 4)
                                calib_x -= AXIS_ADJUST;
                        else if (err_x >= 60)
                                calib_x += AXIS_ADJUST;
 
-                       /* Y axis ajust */
+                       /* Y axis adjust */
                        if (err_y <= 4)
                                calib_y -= AXIS_ADJUST;
                        else if (err_y >= 60)
index b204fdb2d22c61131155c451962dc10e058eab05..2228842dfb4942001812bb79c38de733bfb12aaa 100644 (file)
@@ -107,7 +107,7 @@ static void stmpe_work(struct work_struct *work)
 
        /*
         * touch_det sometimes get desasserted or just get stuck. This appears
-        * to be a silicon bug, We still have to clearify this with the
+        * to be a silicon bug, We still have to clarify this with the
         * manufacture. As a workaround We release the key anyway if the
         * touch_det keeps coming in after 4ms, while the FIFO contains no value
         * during the whole time.
@@ -140,7 +140,7 @@ static irqreturn_t stmpe_ts_handler(int irq, void *data)
 
        /*
         * The FIFO sometimes just crashes and stops generating interrupts. This
-        * appears to be a silicon bug. We still have to clearify this with
+        * appears to be a silicon bug. We still have to clarify this with
         * the manufacture. As a workaround we disable the TSC while we are
         * collecting data and flush the FIFO after reading
         */
index f01f6cc9b59fa8a98dc389c8a6fc6d7ec8b9513e..91384ad1aa40b7037a9f87d9f5e7b8816fdef703 100644 (file)
@@ -222,7 +222,7 @@ EXPORT_SYMBOL_GPL(wm97xx_set_gpio);
 
 /*
  * Codec GPIO pin configuration, this sets pin direction, polarity,
- * stickyness and wake up.
+ * stickiness and wake up.
  */
 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir,
                   enum wm97xx_gpio_pol pol, enum wm97xx_gpio_sticky sticky,
@@ -403,7 +403,7 @@ static int wm97xx_read_samples(struct wm97xx *wm)
                        * is actively working with the touchscreen we
                        * don't want to lose the quick response. So we
                        * will slowly increase sleep time after the
-                       * pen is up and quicky restore it to ~one task
+                       * pen is up and quickly restore it to ~one task
                        * switch when pen is down again.
                        */
                        if (wm->ts_reader_interval < HZ / 10)