Skip to content

Commit 39c1cb2

Browse files
jmccrohanmchehab
authored andcommitted
[media] media_tree: Fix spelling errors
Fix various spelling errors in strings and comments throughout the media tree. The majority of these were found using Lucas De Marchi's codespell tool. [m.chehab@samsung.com: discard hunks with conflicts] Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
1 parent ea3aba8 commit 39c1cb2

43 files changed

Lines changed: 65 additions & 65 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/media/common/siano/smscoreapi.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ struct sms_rx_stats {
955955
u32 modem_state; /* from SMSHOSTLIB_DVB_MODEM_STATE_ET */
956956
s32 SNR; /* dB */
957957
u32 ber; /* Post Viterbi ber [1E-5] */
958-
u32 ber_error_count; /* Number of erronous SYNC bits. */
958+
u32 ber_error_count; /* Number of erroneous SYNC bits. */
959959
u32 ber_bit_count; /* Total number of SYNC bits. */
960960
u32 ts_per; /* Transport stream PER,
961961
0xFFFFFFFF indicate N/A */
@@ -981,7 +981,7 @@ struct sms_rx_stats_ex {
981981
u32 modem_state; /* from SMSHOSTLIB_DVB_MODEM_STATE_ET */
982982
s32 SNR; /* dB */
983983
u32 ber; /* Post Viterbi ber [1E-5] */
984-
u32 ber_error_count; /* Number of erronous SYNC bits. */
984+
u32 ber_error_count; /* Number of erroneous SYNC bits. */
985985
u32 ber_bit_count; /* Total number of SYNC bits. */
986986
u32 ts_per; /* Transport stream PER,
987987
0xFFFFFFFF indicate N/A */

‎drivers/media/common/siano/smsdvb.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct RECEPTION_STATISTICS_PER_SLICES_S {
9595
u32 is_demod_locked; /* 0 - not locked, 1 - locked */
9696

9797
u32 ber_bit_count; /* Total number of SYNC bits. */
98-
u32 ber_error_count; /* Number of erronous SYNC bits. */
98+
u32 ber_error_count; /* Number of erroneous SYNC bits. */
9999

100100
s32 MRC_SNR; /* dB */
101101
s32 mrc_in_band_pwr; /* In band power in dBM */

‎drivers/media/dvb-core/dvb_demux.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ static void dvb_dmx_swfilter_packet(struct dvb_demux *demux, const u8 *buf)
435435
dprintk_tscheck("TEI detected. "
436436
"PID=0x%x data1=0x%x\n",
437437
pid, buf[1]);
438-
/* data in this packet cant be trusted - drop it unless
438+
/* data in this packet can't be trusted - drop it unless
439439
* module option dvb_demux_feed_err_pkts is set */
440440
if (!dvb_demux_feed_err_pkts)
441441
return;

‎drivers/media/dvb-frontends/dib8000.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,7 +3048,7 @@ static int dib8000_tune(struct dvb_frontend *fe)
30483048
dib8000_set_diversity_in(state->fe[0], state->diversity_onoff);
30493049

30503050
locks = (dib8000_read_word(state, 180) >> 6) & 0x3f; /* P_coff_winlen ? */
3051-
/* coff should lock over P_coff_winlen ofdm symbols : give 3 times this lenght to lock */
3051+
/* coff should lock over P_coff_winlen ofdm symbols : give 3 times this length to lock */
30523052
*timeout = dib8000_get_timeout(state, 2 * locks, SYMBOL_DEPENDENT_ON);
30533053
*tune_state = CT_DEMOD_STEP_5;
30543054
break;
@@ -3115,7 +3115,7 @@ static int dib8000_tune(struct dvb_frontend *fe)
31153115

31163116
case CT_DEMOD_STEP_9: /* 39 */
31173117
if ((state->revision == 0x8090) || ((dib8000_read_word(state, 1291) >> 9) & 0x1)) { /* fe capable of deinterleaving : esram */
3118-
/* defines timeout for mpeg lock depending on interleaver lenght of longest layer */
3118+
/* defines timeout for mpeg lock depending on interleaver length of longest layer */
31193119
for (i = 0; i < 3; i++) {
31203120
if (c->layer[i].interleaving >= deeper_interleaver) {
31213121
dprintk("layer%i: time interleaver = %d ", i, c->layer[i].interleaving);

‎drivers/media/dvb-frontends/drxk_hard.c‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ static int mpegts_configure_pins(struct drxk_state *state, bool mpeg_enable)
11911191
goto error;
11921192

11931193
if (state->m_enable_parallel == true) {
1194-
/* paralel -> enable MD1 to MD7 */
1194+
/* parallel -> enable MD1 to MD7 */
11951195
status = write16(state, SIO_PDR_MD1_CFG__A,
11961196
sio_pdr_mdx_cfg);
11971197
if (status < 0)
@@ -1428,7 +1428,7 @@ static int mpegts_stop(struct drxk_state *state)
14281428

14291429
dprintk(1, "\n");
14301430

1431-
/* Gracefull shutdown (byte boundaries) */
1431+
/* Graceful shutdown (byte boundaries) */
14321432
status = read16(state, FEC_OC_SNC_MODE__A, &fec_oc_snc_mode);
14331433
if (status < 0)
14341434
goto error;
@@ -2021,7 +2021,7 @@ static int mpegts_dto_setup(struct drxk_state *state,
20212021
fec_oc_dto_burst_len = 204;
20222022
}
20232023

2024-
/* Check serial or parrallel output */
2024+
/* Check serial or parallel output */
20252025
fec_oc_reg_ipr_mode &= (~(FEC_OC_IPR_MODE_SERIAL__M));
20262026
if (state->m_enable_parallel == false) {
20272027
/* MPEG data output is serial -> set ipr_mode[0] */
@@ -2908,7 +2908,7 @@ static int adc_synchronization(struct drxk_state *state)
29082908
goto error;
29092909

29102910
if (count == 1) {
2911-
/* Try sampling on a diffrent edge */
2911+
/* Try sampling on a different edge */
29122912
u16 clk_neg = 0;
29132913

29142914
status = read16(state, IQM_AF_CLKNEG__A, &clk_neg);
@@ -3306,7 +3306,7 @@ static int dvbt_sc_command(struct drxk_state *state,
33063306
if (status < 0)
33073307
goto error;
33083308

3309-
/* Retreive results parameters from SC */
3309+
/* Retrieve results parameters from SC */
33103310
switch (cmd) {
33113311
/* All commands yielding 5 results */
33123312
/* All commands yielding 4 results */
@@ -3849,7 +3849,7 @@ static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz,
38493849
break;
38503850
}
38513851
#if 0
3852-
/* No hierachical channels support in BDA */
3852+
/* No hierarchical channels support in BDA */
38533853
/* Priority (only for hierarchical channels) */
38543854
switch (channel->priority) {
38553855
case DRX_PRIORITY_LOW:
@@ -4081,7 +4081,7 @@ static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz,
40814081
/*============================================================================*/
40824082

40834083
/**
4084-
* \brief Retreive lock status .
4084+
* \brief Retrieve lock status .
40854085
* \param demod Pointer to demodulator instance.
40864086
* \param lockStat Pointer to lock status structure.
40874087
* \return DRXStatus_t.
@@ -6174,7 +6174,7 @@ static int init_drxk(struct drxk_state *state)
61746174
goto error;
61756175

61766176
/* Stamp driver version number in SCU data RAM in BCD code
6177-
Done to enable field application engineers to retreive drxdriver version
6177+
Done to enable field application engineers to retrieve drxdriver version
61786178
via I2C from SCU RAM.
61796179
Not using SCU command interface for SCU register access since no
61806180
microcode may be present.
@@ -6399,7 +6399,7 @@ static int drxk_set_parameters(struct dvb_frontend *fe)
63996399
fe->ops.tuner_ops.get_if_frequency(fe, &IF);
64006400
start(state, 0, IF);
64016401

6402-
/* After set_frontend, stats aren't avaliable */
6402+
/* After set_frontend, stats aren't available */
64036403
p->strength.stat[0].scale = FE_SCALE_RELATIVE;
64046404
p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
64056405
p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;

‎drivers/media/i2c/adv7183_regs.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
#define ADV7183_VS_FIELD_CTRL_1 0x31 /* Vsync field control 1 */
5353
#define ADV7183_VS_FIELD_CTRL_2 0x32 /* Vsync field control 2 */
5454
#define ADV7183_VS_FIELD_CTRL_3 0x33 /* Vsync field control 3 */
55-
#define ADV7183_HS_POS_CTRL_1 0x34 /* Hsync positon control 1 */
56-
#define ADV7183_HS_POS_CTRL_2 0x35 /* Hsync positon control 2 */
57-
#define ADV7183_HS_POS_CTRL_3 0x36 /* Hsync positon control 3 */
55+
#define ADV7183_HS_POS_CTRL_1 0x34 /* Hsync position control 1 */
56+
#define ADV7183_HS_POS_CTRL_2 0x35 /* Hsync position control 2 */
57+
#define ADV7183_HS_POS_CTRL_3 0x36 /* Hsync position control 3 */
5858
#define ADV7183_POLARITY 0x37 /* Polarity */
5959
#define ADV7183_NTSC_COMB_CTRL 0x38 /* NTSC comb control */
6060
#define ADV7183_PAL_COMB_CTRL 0x39 /* PAL comb control */

‎drivers/media/i2c/adv7604.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ static void configure_custom_video_timings(struct v4l2_subdev *sd,
877877
break;
878878
case ADV7604_MODE_HDMI:
879879
/* set default prim_mode/vid_std for HDMI
880-
accoring to [REF_03, c. 4.2] */
880+
according to [REF_03, c. 4.2] */
881881
io_write(sd, 0x00, 0x02); /* video std */
882882
io_write(sd, 0x01, 0x06); /* prim mode */
883883
break;

‎drivers/media/i2c/adv7842.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ static void configure_custom_video_timings(struct v4l2_subdev *sd,
10131013
break;
10141014
case ADV7842_MODE_HDMI:
10151015
/* set default prim_mode/vid_std for HDMI
1016-
accoring to [REF_03, c. 4.2] */
1016+
according to [REF_03, c. 4.2] */
10171017
io_write(sd, 0x00, 0x02); /* video std */
10181018
io_write(sd, 0x01, 0x06); /* prim mode */
10191019
break;

‎drivers/media/i2c/ir-kbd-i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
394394

395395
if (!rc) {
396396
/*
397-
* If platform_data doesn't specify rc_dev, initilize it
397+
* If platform_data doesn't specify rc_dev, initialize it
398398
* internally
399399
*/
400400
rc = rc_allocate_device();

‎drivers/media/i2c/m5mols/m5mols_controls.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ int m5mols_init_controls(struct v4l2_subdev *sd)
544544
u16 zoom_step;
545545
int ret;
546546

547-
/* Determine the firmware dependant control range and step values */
547+
/* Determine the firmware dependent control range and step values */
548548
ret = m5mols_read_u16(sd, AE_MAX_GAIN_MON, &exposure_max);
549549
if (ret < 0)
550550
return ret;

0 commit comments

Comments
 (0)