Commit dda1bb4e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: tuners: fix several typos



Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 04ad3011
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+2 −2
Original line number Diff line number Diff line
@@ -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) {
+5 −5
Original line number Diff line number Diff line
@@ -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
 *
 */
+1 −1
Original line number Diff line number Diff line
@@ -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");
Loading