media: dvb: Fix typos in comments across various files
authorYu Jiaoliang <yujiaoliang@vivo.com>
Wed, 25 Sep 2024 08:19:01 +0000 (16:19 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 14:28:25 +0000 (16:28 +0200)
This patch corrects spelling errors in comments within
the media/dvb-frontends 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: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/dvb-frontends/bcm3510.c
drivers/media/dvb-frontends/dib0090.c
drivers/media/dvb-frontends/dib3000mb.c
drivers/media/dvb-frontends/stv6111.c
drivers/media/dvb-frontends/tda18271c2dd.c
drivers/media/dvb-frontends/zl10036.c

index 27f1de21f5717551cf87656bee02ae9d72f1a8fb..d935fb10e620814011b5b4100d392f31b7982f47 100644 (file)
@@ -729,7 +729,7 @@ static int bcm3510_init_cold(struct bcm3510_state *st)
        int ret;
        bcm3510_register_value v;
 
-       /* read Acquisation Processor status register and check it is not in RUN mode */
+       /* read Acquisition Processor status register and check it is not in RUN mode */
        if ((ret = bcm3510_readB(st,0xa2,&v)) < 0)
                return ret;
        if (v.APSTAT1_a2.RUN) {
index c958bcff026ec56e22c67beefcea534b8d8c56ce..6cbbb351d545df4bd242e3c20245eb2a18ae012c 100644 (file)
@@ -78,7 +78,7 @@ MODULE_PARM_DESC(debug, "turn on debugging (default: 0)");
 #define SOC_8090_P1G_11R1 0x86
 #define SOC_8090_P1G_21R1 0x8e
 
-/* else use thos ones to check */
+/* else use those ones to check */
 #define P1A_B      0x0
 #define P1C       0x1
 #define P1D_E_F    0x3
@@ -1574,7 +1574,7 @@ static int dib0090_reset(struct dvb_frontend *fe)
        if (((state->identity.version & 0x1f) >= P1D_E_F) || (state->identity.in_soc))
                dib0090_set_EFUSE(state);
 
-       /* Congigure in function of the crystal */
+       /* Configure in function of the crystal */
        if (state->config->force_crystal_mode != 0)
                dib0090_write_reg(state, 0x14,
                                state->config->force_crystal_mode & 3);
index c598b2a633256518944cb418f6032c50dfaef630..822639f11c04fec83f592300c7cd802989208a13 100644 (file)
@@ -640,7 +640,7 @@ static int dib3000mb_read_ber(struct dvb_frontend* fe, u32 *ber)
        return 0;
 }
 
-/* see dib3000-watch dvb-apps for exact calcuations of signal_strength and snr */
+/* see dib3000-watch dvb-apps for exact calculations of signal_strength and snr */
 static int dib3000mb_read_signal_strength(struct dvb_frontend* fe, u16 *strength)
 {
        struct dib3000_state* state = fe->demodulator_priv;
index 2d0adb6fcb0817e2fdf6b3d18b2c4ee042068e7a..0ac15273922da2bd2dbab7834a080c561405bc35 100644 (file)
@@ -161,7 +161,7 @@ static const struct slookup gain_rfagc_lookup[] = {
 };
 
 /*
- * This table is 6 dB too low comapred to the others (probably created with
+ * This table is 6 dB too low compared to the others (probably created with
  * a different BB_MAG setting)
  */
 static const struct slookup gain_channel_agc_nf_lookup[] = {
index fd928787207edf63d351ebfc8f2bf9c6e482315c..c11563853c07f3db935948cae39dd5ae36d8f793 100644 (file)
@@ -954,7 +954,7 @@ static int RFTrackingFiltersCorrection(struct tda_state *state,
                        Capprox = 255;
 
 
-               /* TODO Temperature compensation. There is defenitely a scale factor */
+               /* TODO Temperature compensation. There is definitely a scale factor */
                /*      missing in the datasheet, so leave it out for now.           */
                state->m_Regs[EB14] = Capprox;
 
index 3df055be66d6cb69315ed67e08468fe8d3805b4e..5ad987c6861b9915b2710d63d262401775a9782c 100644 (file)
@@ -89,7 +89,7 @@ static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count)
        int ret;
 
        if (zl10036_debug & 0x02) {
-               /* every 8bit-value satisifes this!
+               /* every 8bit-value satisfies this!
                 * so only check for debug log */
                if ((buf[0] & 0x80) == 0x00)
                        reg = 2;