Commit 2f88509d authored by Yu Jiaoliang's avatar Yu Jiaoliang Committed by Hans Verkuil
Browse files

media: dvb: Fix typos in comments across various files



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: default avatarYu Jiaoliang <yujiaoliang@vivo.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 1e63c794
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {
+2 −2
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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[] = {
+1 −1
Original line number Diff line number Diff line
@@ -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;

Loading