Skip to content

Commit

Permalink
media: tuners: fix several typos
Browse files Browse the repository at this point in the history
Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Mar 1, 2019
1 parent 04ad301 commit dda1bb4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion drivers/media/tuners/mxl5005s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/tuners/qm1d1b0004.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down Expand Up @@ -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) {
Expand Down
10 changes: 5 additions & 5 deletions drivers/media/tuners/tda18271-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/tuners/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/tuners/tda18271.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ enum tda18271_i2c_gate {
};

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,

/* slave tuner output loop thru off */
/* slave tuner output loop through off */
TDA18271_OUTPUT_LT_OFF = 1,

/* xtal oscillator off */
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/tuners/xc4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,8 +1471,8 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength)
if (rc < 0)
goto ret;

/* Informations from real testing of DVB-T and radio part,
coeficient for one dB is 0xff.
/* Information from real testing of DVB-T and radio part,
coefficient for one dB is 0xff.
*/
tuner_dbg("Signal strength: -%ddB (%05d)\n", value >> 8, value);

Expand Down

0 comments on commit dda1bb4

Please sign in to comment.