Commit 1e63c794 authored by Yu Jiaoliang's avatar Yu Jiaoliang Committed by Hans Verkuil
Browse files

media:tuners: Fix typos in comments across various files



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: default avatarYu Jiaoliang <yujiaoliang@vivo.com>
Acked-by: default avatarAkihiro Tsukada <tskd08@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 0d4d90b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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);
+2 −2
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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)
{