media: tuners: fix several typos
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 19:29:02 +0000 (14:29 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 1 Mar 2019 14:40:29 +0000 (09:40 -0500)
Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/tuners/mxl5005s.c
drivers/media/tuners/qm1d1b0004.h
drivers/media/tuners/r820t.c
drivers/media/tuners/tda18271-common.c
drivers/media/tuners/tda18271-fe.c
drivers/media/tuners/tda18271.h
drivers/media/tuners/xc4000.c

index ec58431..1c07e22 100644 (file)
@@ -3584,7 +3584,7 @@ static u32 MXL_Ceiling(u32 value, u32 resolution)
        return value / resolution + (value % resolution > 0 ? 1 : 0);
 }
 
-/* Retrieve the Initialzation Registers */
+/* Retrieve the Initialization Registers */
 static u16 MXL_GetInitRegister(struct dvb_frontend *fe, u8 *RegNum,
        u8 *RegVal, int *count)
 {
index 7734ed1..7950ecd 100644 (file)
@@ -14,7 +14,7 @@ struct qm1d1b0004_config {
        struct dvb_frontend *fe;
 
        u32 lpf_freq;   /* LPF frequency[kHz]. Default: symbol rate */
-       bool half_step; /* use PLL frequency step of 500Hz istead of 1000Hz */
+       bool half_step; /* use PLL frequency step of 500Hz instead of 1000Hz */
 };
 
 /* special values indicating to use the default in qm1d1b0004_config */
index ba4be08..aed2f13 100644 (file)
@@ -1664,7 +1664,7 @@ static int r820t_iq_tree(struct r820t_priv *priv,
 
        /*
         * record IMC results by input gain/phase location then adjust
-        * gain or phase positive 1 step and negtive 1 step,
+        * gain or phase positive 1 step and negative 1 step,
         * both record results
         */
 
@@ -2066,7 +2066,7 @@ static int r820t_imr_callibrate(struct r820t_priv *priv)
        }
 
        /*
-        * Disables IMR callibration. That emulates the same behaviour
+        * Disables IMR calibration. That emulates the same behaviour
         * as what is done by rtl-sdr userspace library. Useful for testing
         */
        if (no_imr_cal) {
index 054b3b7..d46a2e7 100644 (file)
@@ -528,14 +528,14 @@ int tda18271_init_regs(struct dvb_frontend *fe)
  *  Standby modes, EP3 [7:5]
  *
  *  | SM  || SM_LT || SM_XT || mode description
- *  |=====\\=======\\=======\\===================================
+ *  |=====\\=======\\=======\\====================================
  *  |  0  ||   0   ||   0   || normal mode
- *  |-----||-------||-------||-----------------------------------
+ *  |-----||-------||-------||------------------------------------
  *  |     ||       ||       || standby mode w/ slave tuner output
- *  |  1  ||   0   ||   0   || & loop thru & xtal oscillator on
- *  |-----||-------||-------||-----------------------------------
+ *  |  1  ||   0   ||   0   || & loop through & xtal oscillator on
+ *  |-----||-------||-------||------------------------------------
  *  |  1  ||   1   ||   0   || standby mode w/ xtal oscillator on
- *  |-----||-------||-------||-----------------------------------
+ *  |-----||-------||-------||------------------------------------
  *  |  1  ||   1   ||   1   || power off
  *
  */
index 4d69029..cac6b8e 100644 (file)
@@ -48,7 +48,7 @@ static int tda18271_toggle_output(struct dvb_frontend *fe, int standby)
        if (tda_fail(ret))
                goto fail;
 
-       tda_dbg("%s mode: xtal oscillator %s, slave tuner loop thru %s\n",
+       tda_dbg("%s mode: xtal oscillator %s, slave tuner loop through %s\n",
                standby ? "standby" : "active",
                priv->output_opt & TDA18271_OUTPUT_XT_OFF ? "off" : "on",
                priv->output_opt & TDA18271_OUTPUT_LT_OFF ? "off" : "on");
index 7e07966..1a23532 100644 (file)
@@ -69,10 +69,10 @@ enum tda18271_i2c_gate {
 };
 
 enum tda18271_output_options {
-       /* slave tuner output & loop thru & xtal oscillator always on */
+       /* slave tuner output & loop through & xtal oscillator always on */
        TDA18271_OUTPUT_LT_XT_ON = 0,
 
-       /* slave tuner output loop thru off */
+       /* slave tuner output loop through off */
        TDA18271_OUTPUT_LT_OFF = 1,
 
        /* xtal oscillator off */
index eb6d65d..a351390 100644 (file)
@@ -1471,8 +1471,8 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength)
        if (rc < 0)
                goto ret;
 
-       /* Informations from real testing of DVB-T and radio part,
-          coeficient for one dB is 0xff.
+       /* Information from real testing of DVB-T and radio part,
+          coefficient for one dB is 0xff.
         */
        tuner_dbg("Signal strength: -%ddB (%05d)\n", value >> 8, value);