media:tuners: Fix typos in comments across various files
authorYu Jiaoliang <yujiaoliang@vivo.com>
Wed, 25 Sep 2024 07:09:13 +0000 (15:09 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 14:28:25 +0000 (16:28 +0200)
This commit corrects spelling errors in comments within
the media/tuners 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>
Acked-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/tuners/mt2063.c
drivers/media/tuners/mxl301rf.c
drivers/media/tuners/mxl5005s.c
drivers/media/tuners/tea5761.c
drivers/media/tuners/tea5767.c

index 6afef11a49cb1abba1ca8c109d75dac4cab57868..2c8ce74ddca4d2204c08cf1e9dabf09c2ba1df5a 100644 (file)
@@ -1476,7 +1476,7 @@ static u32 MT2063_CalcLO2Mult(u32 *Div,
 }
 
 /*
- * FindClearTuneFilter() - Calculate the corrrect ClearTune filter to be
+ * FindClearTuneFilter() - Calculate the correct ClearTune filter to be
  *                        used for a given input frequency.
  *
  * @state:     ptr to tuner data structure
index 7c03d4132763f7289657d9c76880a673100a2b85..3b61c3afed18d262c0b9393386afee0f36b01930 100644 (file)
@@ -64,7 +64,7 @@ static int reg_read(struct mxl301rf_state *state, u8 reg, u8 *val)
 
 /* tuner_ops */
 
-/* get RSSI and update propery cache, set to *out in % */
+/* get RSSI and update property cache, set to *out in % */
 static int mxl301rf_get_rf_strength(struct dvb_frontend *fe, u16 *out)
 {
        struct mxl301rf_state *state;
index d9bfa257a00542ff92e581d244d3668ca34cd0f0..0e811c5eae6cb75d156334b4a6779adcca575d38 100644 (file)
@@ -2639,7 +2639,7 @@ static u16 MXL_TuneRF(struct dvb_frontend *fe, u32 RF_Freq)
        E5A = (((Fmax - state->RF_LO)/1000)*4/((Fmax-Fmin)/1000)) + 1 ;
        status += MXL_ControlWrite(fe, RFSYN_LPF_R, E5A);
 
-       /* Euqation E5B CHCAL_EN_INIT_RF */
+       /* Equation E5B CHCAL_EN_INIT_RF */
        status += MXL_ControlWrite(fe, CHCAL_EN_INT_RF, ((E5 == 0) ? 1 : 0));
        /*if (E5 == 0)
         *      status += MXL_ControlWrite(fe, CHCAL_EN_INT_RF, 1);
index d78a2bdb3e36d71d35e95fd6db25e245a35c2fa5..425e9fd3f3d4674b3eca784d4f4ae00f49af3fa7 100644 (file)
@@ -46,7 +46,7 @@ struct tea5761_priv {
 /* FRQSET - Read: bytes 2 and 3 / Write: byte 1 and 2 */
 
        /* First byte */
-#define TEA5761_FRQSET_SEARCH_UP 0x80          /* 1=Station search from botton to up */
+#define TEA5761_FRQSET_SEARCH_UP 0x80          /* 1=Station search from bottom to up */
 #define TEA5761_FRQSET_SEARCH_MODE 0x40                /* 1=Search mode */
 
        /* Bits 0-5 for divider MSB */
@@ -132,7 +132,7 @@ static void tea5761_status_dump(unsigned char *buffer)
               frq / 1000, frq % 1000, div);
 }
 
-/* Freq should be specifyed at 62.5 Hz */
+/* Freq should be specified at 62.5 Hz */
 static int __set_radio_freq(struct dvb_frontend *fe,
                            unsigned int freq,
                            bool mono)
index 016d0d5ec50b83d4aed48a0e1a56efe222bbdb5b..ef4acb1f1bfa7715f504c3838e1ad1b3e02c20f4 100644 (file)
@@ -44,7 +44,7 @@ struct tea5767_priv {
 
 /* Third register */
 
-/* Station search from botton to up */
+/* Station search from bottom to up */
 #define TEA5767_SEARCH_UP      0x80
 
 /* Searches with ADC output = 10 */
@@ -183,7 +183,7 @@ static void tea5767_status_dump(struct tea5767_priv *priv,
                   (buffer[4] & TEA5767_RESERVED_MASK));
 }
 
-/* Freq should be specifyed at 62.5 Hz */
+/* Freq should be specified at 62.5 Hz */
 static int set_radio_freq(struct dvb_frontend *fe,
                          struct analog_parameters *params)
 {