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

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
...@@ -3584,7 +3584,7 @@ static u32 MXL_Ceiling(u32 value, u32 resolution) ...@@ -3584,7 +3584,7 @@ static u32 MXL_Ceiling(u32 value, u32 resolution)
return value / resolution + (value % resolution > 0 ? 1 : 0); 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, static u16 MXL_GetInitRegister(struct dvb_frontend *fe, u8 *RegNum,
u8 *RegVal, int *count) u8 *RegVal, int *count)
{ {
......
...@@ -14,7 +14,7 @@ struct qm1d1b0004_config { ...@@ -14,7 +14,7 @@ struct qm1d1b0004_config {
struct dvb_frontend *fe; struct dvb_frontend *fe;
u32 lpf_freq; /* LPF frequency[kHz]. Default: symbol rate */ 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 */ /* special values indicating to use the default in qm1d1b0004_config */
......
...@@ -1664,7 +1664,7 @@ static int r820t_iq_tree(struct r820t_priv *priv, ...@@ -1664,7 +1664,7 @@ static int r820t_iq_tree(struct r820t_priv *priv,
/* /*
* record IMC results by input gain/phase location then adjust * 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 * both record results
*/ */
...@@ -2066,7 +2066,7 @@ static int r820t_imr_callibrate(struct r820t_priv *priv) ...@@ -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 * as what is done by rtl-sdr userspace library. Useful for testing
*/ */
if (no_imr_cal) { if (no_imr_cal) {
......
...@@ -528,14 +528,14 @@ int tda18271_init_regs(struct dvb_frontend *fe) ...@@ -528,14 +528,14 @@ int tda18271_init_regs(struct dvb_frontend *fe)
* Standby modes, EP3 [7:5] * Standby modes, EP3 [7:5]
* *
* | SM || SM_LT || SM_XT || mode description * | SM || SM_LT || SM_XT || mode description
* |=====\\=======\\=======\\=================================== * |=====\\=======\\=======\\====================================
* | 0 || 0 || 0 || normal mode * | 0 || 0 || 0 || normal mode
* |-----||-------||-------||----------------------------------- * |-----||-------||-------||------------------------------------
* | || || || standby mode w/ slave tuner output * | || || || 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 || 0 || standby mode w/ xtal oscillator on
* |-----||-------||-------||----------------------------------- * |-----||-------||-------||------------------------------------
* | 1 || 1 || 1 || power off * | 1 || 1 || 1 || power off
* *
*/ */
......
...@@ -48,7 +48,7 @@ static int tda18271_toggle_output(struct dvb_frontend *fe, int standby) ...@@ -48,7 +48,7 @@ static int tda18271_toggle_output(struct dvb_frontend *fe, int standby)
if (tda_fail(ret)) if (tda_fail(ret))
goto fail; 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", standby ? "standby" : "active",
priv->output_opt & TDA18271_OUTPUT_XT_OFF ? "off" : "on", priv->output_opt & TDA18271_OUTPUT_XT_OFF ? "off" : "on",
priv->output_opt & TDA18271_OUTPUT_LT_OFF ? "off" : "on"); priv->output_opt & TDA18271_OUTPUT_LT_OFF ? "off" : "on");
......
...@@ -69,10 +69,10 @@ enum tda18271_i2c_gate { ...@@ -69,10 +69,10 @@ enum tda18271_i2c_gate {
}; };
enum tda18271_output_options { enum tda18271_output_options {
/* slave tuner output & loop thru & xtal oscillator always on */ /* slave tuner output & loop through & xtal oscillator always on */
TDA18271_OUTPUT_LT_XT_ON = 0, TDA18271_OUTPUT_LT_XT_ON = 0,
/* slave tuner output loop thru off */ /* slave tuner output loop through off */
TDA18271_OUTPUT_LT_OFF = 1, TDA18271_OUTPUT_LT_OFF = 1,
/* xtal oscillator off */ /* xtal oscillator off */
......
...@@ -1471,8 +1471,8 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength) ...@@ -1471,8 +1471,8 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength)
if (rc < 0) if (rc < 0)
goto ret; goto ret;
/* Informations from real testing of DVB-T and radio part, /* Information from real testing of DVB-T and radio part,
coeficient for one dB is 0xff. coefficient for one dB is 0xff.
*/ */
tuner_dbg("Signal strength: -%ddB (%05d)\n", value >> 8, value); tuner_dbg("Signal strength: -%ddB (%05d)\n", value >> 8, value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment