Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: i2c: fix several typos

Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

+38 -38
+1 -1
drivers/media/i2c/adv7175.c
··· 219 219 * SECAM->PAL (typically it does not work 220 220 * due to genlock: when decoder is in SECAM 221 221 * and encoder in in PAL the subcarrier can 222 - * not be syncronized with horizontal 222 + * not be synchronized with horizontal 223 223 * quency) */ 224 224 adv7175_write_block(sd, init_pal, sizeof(init_pal)); 225 225 if (encoder->input == 0)
+5 -5
drivers/media/i2c/adv7842.c
··· 3102 3102 3103 3103 io_write(sd, 0x00, 0x01); /* Program SDP 4x1 */ 3104 3104 io_write(sd, 0x01, 0x00); /* Program SDP mode */ 3105 - afe_write(sd, 0x80, 0x92); /* SDP Recommeneded Write */ 3106 - afe_write(sd, 0x9B, 0x01); /* SDP Recommeneded Write ADV7844ES1 */ 3107 - afe_write(sd, 0x9C, 0x60); /* SDP Recommeneded Write ADV7844ES1 */ 3108 - afe_write(sd, 0x9E, 0x02); /* SDP Recommeneded Write ADV7844ES1 */ 3109 - afe_write(sd, 0xA0, 0x0B); /* SDP Recommeneded Write ADV7844ES1 */ 3105 + afe_write(sd, 0x80, 0x92); /* SDP Recommended Write */ 3106 + afe_write(sd, 0x9B, 0x01); /* SDP Recommended Write ADV7844ES1 */ 3107 + afe_write(sd, 0x9C, 0x60); /* SDP Recommended Write ADV7844ES1 */ 3108 + afe_write(sd, 0x9E, 0x02); /* SDP Recommended Write ADV7844ES1 */ 3109 + afe_write(sd, 0xA0, 0x0B); /* SDP Recommended Write ADV7844ES1 */ 3110 3110 afe_write(sd, 0xC3, 0x02); /* Memory BIST Initialisation */ 3111 3111 io_write(sd, 0x0C, 0x40); /* Power up ADV7844 */ 3112 3112 io_write(sd, 0x15, 0xBA); /* Enable outputs */
+2 -2
drivers/media/i2c/bt819.c
··· 164 164 0x0e, 0xb4, /* 0x0e Chroma Gain (V) msb */ 165 165 0x0f, 0x00, /* 0x0f Hue control */ 166 166 0x12, 0x04, /* 0x12 Output Format */ 167 - 0x13, 0x20, /* 0x13 Vertial Scaling msb 0x00 167 + 0x13, 0x20, /* 0x13 Vertical Scaling msb 0x00 168 168 chroma comb OFF, line drop scaling, interlace scaling 169 169 BUG? Why does turning the chroma comb on fuck up color? 170 170 Bug in the bt819 stepping on my board? 171 171 */ 172 - 0x14, 0x00, /* 0x14 Vertial Scaling lsb */ 172 + 0x14, 0x00, /* 0x14 Vertical Scaling lsb */ 173 173 0x16, 0x07, /* 0x16 Video Timing Polarity 174 174 ACTIVE=active low 175 175 FIELD: high=odd,
+1 -1
drivers/media/i2c/cx25840/cx25840-core.h
··· 66 66 * @is_initialized: whether we have already loaded firmware into the chip 67 67 * and initialized it 68 68 * @vbi_regs_offset: offset of vbi regs 69 - * @fw_wait: wait queue to wake an initalization function up when 69 + * @fw_wait: wait queue to wake an initialization function up when 70 70 * firmware loading (on a separate workqueue) finishes 71 71 * @fw_work: a work that actually loads the firmware on a separate 72 72 * workqueue
+2 -2
drivers/media/i2c/cx25840/cx25840-ir.c
··· 549 549 ror = stats & STATS_ROR; /* Rx FIFO Over Run */ 550 550 551 551 tse = irqen & IRQEN_TSE; /* Tx FIFO Service Request IRQ Enable */ 552 - rse = irqen & IRQEN_RSE; /* Rx FIFO Service Reuqest IRQ Enable */ 552 + rse = irqen & IRQEN_RSE; /* Rx FIFO Service Request IRQ Enable */ 553 553 rte = irqen & IRQEN_RTE; /* Rx Pulse Width Timer Time Out IRQ Enable */ 554 554 roe = irqen & IRQEN_ROE; /* Rx FIFO Over Run IRQ Enable */ 555 555 ··· 638 638 events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; 639 639 } 640 640 if (v) { 641 - /* Clear STATS_ROR & STATS_RTO as needed by reseting hardware */ 641 + /* Clear STATS_ROR & STATS_RTO as needed by resetting hardware */ 642 642 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl & ~v); 643 643 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl); 644 644 *handled = true;
+1 -1
drivers/media/i2c/et8ek8/et8ek8_mode.c
··· 79 79 { ET8EK8_REG_8BIT, 0x1258, 0x00 }, 80 80 /* From parallel out to serial out */ 81 81 { ET8EK8_REG_8BIT, 0x125D, 0x88 }, 82 - /* From w/ embeded data to w/o embeded data */ 82 + /* From w/ embedded data to w/o embedded data */ 83 83 { ET8EK8_REG_8BIT, 0x125E, 0xC0 }, 84 84 /* CCP2 out is from STOP to ACTIVE */ 85 85 { ET8EK8_REG_8BIT, 0x1263, 0x98 },
+1 -1
drivers/media/i2c/imx214.c
··· 377 377 /* Moire reduction */ 378 378 {0x6957, 0x01}, 379 379 380 - /* image enhancment */ 380 + /* image enhancement */ 381 381 {0x6987, 0x17}, 382 382 {0x698A, 0x03}, 383 383 {0x698B, 0x03},
+2 -2
drivers/media/i2c/imx274.c
··· 405 405 */ 406 406 static const struct reg_8 imx274_start_3[] = { 407 407 {0x30F4, 0x00}, 408 - {0x3018, 0xA2}, /* XHS VHS OUTUPT */ 408 + {0x3018, 0xA2}, /* XHS VHS OUTPUT */ 409 409 {IMX274_TABLE_END, 0x00} 410 410 }; 411 411 412 412 /* 413 - * imx274 register configuration for stoping stream 413 + * imx274 register configuration for stopping stream 414 414 */ 415 415 static const struct reg_8 imx274_stop[] = { 416 416 {IMX274_STANDBY_REG, 0x01},
+1 -1
drivers/media/i2c/lm3560.c
··· 55 55 * @regmap: reg. map for i2c 56 56 * @lock: muxtex for serial access. 57 57 * @led_mode: V4L2 LED mode 58 - * @ctrls_led: V4L2 contols 58 + * @ctrls_led: V4L2 controls 59 59 * @subdev_led: V4L2 subdev 60 60 */ 61 61 struct lm3560_flash {
+1 -1
drivers/media/i2c/lm3646.c
··· 62 62 * @regmap: reg. map for i2c 63 63 * @lock: muxtex for serial access. 64 64 * @led_mode: V4L2 LED mode 65 - * @ctrls_led: V4L2 contols 65 + * @ctrls_led: V4L2 controls 66 66 * @subdev_led: V4L2 subdev 67 67 * @mode_reg : mode register value 68 68 */
+1 -1
drivers/media/i2c/m5mols/m5mols.h
··· 253 253 * 254 254 * The I2C read operation of the M-5MOLS requires 2 messages. The first 255 255 * message sends the information about the command, command category, and total 256 - * message size. The second message is used to retrieve the data specifed in 256 + * message size. The second message is used to retrieve the data specified in 257 257 * the first message 258 258 * 259 259 * 1st message 2nd message
+1 -1
drivers/media/i2c/m5mols/m5mols_core.c
··· 291 291 * @reg: the I2C_REG() address of an 8-bit status register to check 292 292 * @value: expected status register value 293 293 * @mask: bit mask for the read status register value 294 - * @timeout: timeout in miliseconds, or -1 for default timeout 294 + * @timeout: timeout in milliseconds, or -1 for default timeout 295 295 * 296 296 * The @reg register value is ORed with @mask before comparing with @value. 297 297 *
+1 -1
drivers/media/i2c/msp3400-driver.c
··· 11 11 * 12 12 * FM-Mono 13 13 * should work. The stereo modes are backward compatible to FM-mono, 14 - * therefore FM-Mono should be allways available. 14 + * therefore FM-Mono should be always available. 15 15 * 16 16 * FM-Stereo (B/G, used in germany) 17 17 * should work, with autodetect
+1 -1
drivers/media/i2c/mt9t112.c
··· 541 541 mt9t112_mcu_write(ret, client, VAR(18, 109), 0x0AF0); 542 542 543 543 /* 544 - * Flicker Dectection registers. 544 + * Flicker Detection registers. 545 545 * This section should be replaced whenever new timing file is 546 546 * generated. All the following registers need to be replaced. 547 547 * Following registers are generated from Register Wizard but user can
+1 -1
drivers/media/i2c/ov5640.c
··· 721 721 722 722 /* 723 723 * After trying the various combinations, reading various 724 - * documentations spreaded around the net, and from the various 724 + * documentations spread around the net, and from the various 725 725 * feedback, the clock tree is probably as follows: 726 726 * 727 727 * +--------------+
+2 -2
drivers/media/i2c/ov6650.c
··· 15 15 * Copyright (C) 2008 Magnus Damm 16 16 * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de> 17 17 * 18 - * Hardware specific bits initialy based on former work by Matt Callow 18 + * Hardware specific bits initially based on former work by Matt Callow 19 19 * drivers/media/video/omap/sensor_ov6650.c 20 20 * Copyright (C) 2006 Matt Callow 21 21 * ··· 759 759 760 760 /* 761 761 * Keep result to be used as tpf limit 762 - * for subseqent clock divider calculations 762 + * for subsequent clock divider calculations 763 763 */ 764 764 priv->tpf.numerator = div; 765 765 priv->tpf.denominator = FRAME_RATE_MAX;
+1 -1
drivers/media/i2c/ov7740.c
··· 20 20 #define REG_BGAIN 0x01 /* blue gain */ 21 21 #define REG_RGAIN 0x02 /* red gain */ 22 22 #define REG_GGAIN 0x03 /* green gain */ 23 - #define REG_REG04 0x04 /* analog setting, dont change*/ 23 + #define REG_REG04 0x04 /* analog setting, don't change*/ 24 24 #define REG_BAVG 0x05 /* b channel average */ 25 25 #define REG_GAVG 0x06 /* g channel average */ 26 26 #define REG_RAVG 0x07 /* r channel average */
+2 -2
drivers/media/i2c/ov9650.c
··· 45 45 * OV9650/OV9652 register definitions 46 46 */ 47 47 #define REG_GAIN 0x00 /* Gain control, AGC[7:0] */ 48 - #define REG_BLUE 0x01 /* AWB - Blue chanel gain */ 49 - #define REG_RED 0x02 /* AWB - Red chanel gain */ 48 + #define REG_BLUE 0x01 /* AWB - Blue channel gain */ 49 + #define REG_RED 0x02 /* AWB - Red channel gain */ 50 50 #define REG_VREF 0x03 /* [7:6] - AGC[9:8], [5:3]/[2:0] */ 51 51 #define VREF_GAIN_MASK 0xc0 /* - VREF end/start low 3 bits */ 52 52 #define REG_COM1 0x04
+1 -1
drivers/media/i2c/s5c73m3/s5c73m3-core.c
··· 1431 1431 for (++i; i < S5C73M3_MAX_SUPPLIES; i++) { 1432 1432 int r = regulator_enable(state->supplies[i].consumer); 1433 1433 if (r < 0) 1434 - v4l2_err(&state->oif_sd, "Failed to reenable %s: %d\n", 1434 + v4l2_err(&state->oif_sd, "Failed to re-enable %s: %d\n", 1435 1435 state->supplies[i].supply, r); 1436 1436 } 1437 1437
+1 -1
drivers/media/i2c/s5k6aa.c
··· 729 729 * @s5k6aa: pointer to &struct s5k6aa describing the device 730 730 * @preset: s5kaa preset to be applied 731 731 * 732 - * Configure output resolution and color fromat, pixel clock 732 + * Configure output resolution and color format, pixel clock 733 733 * frequency range, device frame rate type and frame period range. 734 734 */ 735 735 static int s5k6aa_set_prev_config(struct s5k6aa *s5k6aa,
+1 -1
drivers/media/i2c/saa7115.c
··· 1766 1766 * exists. However, tests on a device labeled as: 1767 1767 * "GM7113C 1145" returned "10" on all 16 chip 1768 1768 * version (reg 0x00) reads. So, we need to also 1769 - * accept at least verion 0. For now, let's just 1769 + * accept at least version 0. For now, let's just 1770 1770 * assume that a device that returns "0000" for 1771 1771 * the lower nibble is a gm7113c. 1772 1772 */
+1 -1
drivers/media/i2c/saa717x.c
··· 844 844 if (i == count) 845 845 return; 846 846 847 - /* horizonal prescaling */ 847 + /* horizontal prescaling */ 848 848 saa717x_write(sd, 0x60 + task_shift, vals[i].xpsc); 849 849 /* accumulation length */ 850 850 saa717x_write(sd, 0x61 + task_shift, vals[i].xacl);
+1 -1
drivers/media/i2c/tda1997x_regs.h
··· 596 596 #define RESET_AUDIO BIT(0) /* Reset Audio FIFO control */ 597 597 598 598 /* HDCP_BCAPS bits */ 599 - #define HDCP_HDMI BIT(7) /* HDCP suports HDMI (vs DVI only) */ 599 + #define HDCP_HDMI BIT(7) /* HDCP supports HDMI (vs DVI only) */ 600 600 #define HDCP_REPEATER BIT(6) /* HDCP supports repeater function */ 601 601 #define HDCP_READY BIT(5) /* set by repeater function */ 602 602 #define HDCP_FAST BIT(4) /* Up to 400kHz */
+1 -1
drivers/media/i2c/tda9840.c
··· 7 7 The tda9840 is a stereo/dual sound processor with digital 8 8 identification. It can be found at address 0x84 on the i2c-bus. 9 9 10 - For detailed informations download the specifications directly 10 + For detailed information download the specifications directly 11 11 from SGS Thomson at http://www.st.com 12 12 13 13 This program is free software; you can redistribute it and/or modify
+1 -1
drivers/media/i2c/tea6415c.c
··· 9 9 It is cascadable, i.e. it can be found at the addresses 10 10 0x86 and 0x06 on the i2c-bus. 11 11 12 - For detailed informations download the specifications directly 12 + For detailed information download the specifications directly 13 13 from SGS Thomson at http://www.st.com 14 14 15 15 This program is free software; you can redistribute it and/or modify
+1 -1
drivers/media/i2c/tea6420.c
··· 9 9 It is cascadable, i.e. it can be found at the addresses 0x98 10 10 and 0x9a on the i2c-bus. 11 11 12 - For detailed informations download the specifications directly 12 + For detailed information download the specifications directly 13 13 from SGS Thomson at http://www.st.com 14 14 15 15 This program is free software; you can redistribute it and/or modify
+2 -2
drivers/media/i2c/tvaudio.c
··· 538 538 #define TDA9855_INT 0 /* Selects inputs LOR and LOL. (internal) */ 539 539 540 540 /* Unique to TDA9850: */ 541 - /* lower 4 bits contol SAP noise threshold, over which SAP turns off 541 + /* lower 4 bits control SAP noise threshold, over which SAP turns off 542 542 * set to values of 0x00 through 0x0f for SAP1 through SAP16 */ 543 543 544 544 ··· 546 546 /* Common to TDA9855 and TDA9850: */ 547 547 #define TDA985x_SAP 3<<6 /* Selects SAP output, mute if not received */ 548 548 #define TDA985x_MONOSAP 2<<6 /* Selects Mono on left, SAP on right */ 549 - #define TDA985x_STEREO 1<<6 /* Selects Stereo ouput, mono if not received */ 549 + #define TDA985x_STEREO 1<<6 /* Selects Stereo output, mono if not received */ 550 550 #define TDA985x_MONO 0 /* Forces Mono output */ 551 551 #define TDA985x_LMU 1<<3 /* Mute (LOR/LOL for 9855, OUTL/OUTR for 9850) */ 552 552
+1 -1
drivers/media/i2c/tvp514x.c
··· 67 67 }; 68 68 69 69 /** 70 - * struct tvp514x_std_info - Structure to store standard informations 70 + * struct tvp514x_std_info - Structure to store standard information 71 71 * @width: Line width in pixels 72 72 * @height:Number of active lines 73 73 * @video_std: Value to write in REG_VIDEO_STD register