[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
ea3aba8482
commit
39c1cb2b19
@@ -52,9 +52,9 @@
|
||||
#define ADV7183_VS_FIELD_CTRL_1 0x31 /* Vsync field control 1 */
|
||||
#define ADV7183_VS_FIELD_CTRL_2 0x32 /* Vsync field control 2 */
|
||||
#define ADV7183_VS_FIELD_CTRL_3 0x33 /* Vsync field control 3 */
|
||||
#define ADV7183_HS_POS_CTRL_1 0x34 /* Hsync positon control 1 */
|
||||
#define ADV7183_HS_POS_CTRL_2 0x35 /* Hsync positon control 2 */
|
||||
#define ADV7183_HS_POS_CTRL_3 0x36 /* Hsync positon control 3 */
|
||||
#define ADV7183_HS_POS_CTRL_1 0x34 /* Hsync position control 1 */
|
||||
#define ADV7183_HS_POS_CTRL_2 0x35 /* Hsync position control 2 */
|
||||
#define ADV7183_HS_POS_CTRL_3 0x36 /* Hsync position control 3 */
|
||||
#define ADV7183_POLARITY 0x37 /* Polarity */
|
||||
#define ADV7183_NTSC_COMB_CTRL 0x38 /* NTSC comb control */
|
||||
#define ADV7183_PAL_COMB_CTRL 0x39 /* PAL comb control */
|
||||
|
@@ -877,7 +877,7 @@ static void configure_custom_video_timings(struct v4l2_subdev *sd,
|
||||
break;
|
||||
case ADV7604_MODE_HDMI:
|
||||
/* set default prim_mode/vid_std for HDMI
|
||||
accoring to [REF_03, c. 4.2] */
|
||||
according to [REF_03, c. 4.2] */
|
||||
io_write(sd, 0x00, 0x02); /* video std */
|
||||
io_write(sd, 0x01, 0x06); /* prim mode */
|
||||
break;
|
||||
|
@@ -1013,7 +1013,7 @@ static void configure_custom_video_timings(struct v4l2_subdev *sd,
|
||||
break;
|
||||
case ADV7842_MODE_HDMI:
|
||||
/* set default prim_mode/vid_std for HDMI
|
||||
accoring to [REF_03, c. 4.2] */
|
||||
according to [REF_03, c. 4.2] */
|
||||
io_write(sd, 0x00, 0x02); /* video std */
|
||||
io_write(sd, 0x01, 0x06); /* prim mode */
|
||||
break;
|
||||
|
@@ -394,7 +394,7 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
||||
|
||||
if (!rc) {
|
||||
/*
|
||||
* If platform_data doesn't specify rc_dev, initilize it
|
||||
* If platform_data doesn't specify rc_dev, initialize it
|
||||
* internally
|
||||
*/
|
||||
rc = rc_allocate_device();
|
||||
|
@@ -544,7 +544,7 @@ int m5mols_init_controls(struct v4l2_subdev *sd)
|
||||
u16 zoom_step;
|
||||
int ret;
|
||||
|
||||
/* Determine the firmware dependant control range and step values */
|
||||
/* Determine the firmware dependent control range and step values */
|
||||
ret = m5mols_read_u16(sd, AE_MAX_GAIN_MON, &exposure_max);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
@@ -1460,7 +1460,7 @@ static int s5c73m3_oif_registered(struct v4l2_subdev *sd)
|
||||
mutex_unlock(&state->lock);
|
||||
|
||||
v4l2_dbg(1, s5c73m3_dbg, sd, "%s: Booting %s (%d)\n",
|
||||
__func__, ret ? "failed" : "succeded", ret);
|
||||
__func__, ret ? "failed" : "succeeded", ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@@ -393,7 +393,7 @@ struct s5c73m3 {
|
||||
|
||||
/* External master clock frequency */
|
||||
u32 mclk_frequency;
|
||||
/* Video bus type - MIPI-CSI2/paralell */
|
||||
/* Video bus type - MIPI-CSI2/parallel */
|
||||
enum v4l2_mbus_type bus_type;
|
||||
|
||||
const struct s5c73m3_frame_size *sensor_pix_size[2];
|
||||
|
@@ -1699,7 +1699,7 @@ static void saa711x_write_platform_data(struct saa711x_state *state,
|
||||
* the analog demod.
|
||||
* If the tuner is not found, it returns -ENODEV.
|
||||
* If auto-detection is disabled and the tuner doesn't match what it was
|
||||
* requred, it returns -EINVAL and fills 'name'.
|
||||
* required, it returns -EINVAL and fills 'name'.
|
||||
* If the chip is found, it returns the chip ID and fills 'name'.
|
||||
*/
|
||||
static int saa711x_detect_chip(struct i2c_client *client,
|
||||
|
@@ -642,7 +642,7 @@ static const struct ov5642_datafmt
|
||||
static int reg_read(struct i2c_client *client, u16 reg, u8 *val)
|
||||
{
|
||||
int ret;
|
||||
/* We have 16-bit i2c addresses - care for endianess */
|
||||
/* We have 16-bit i2c addresses - care for endianness */
|
||||
unsigned char data[2] = { reg >> 8, reg & 0xff };
|
||||
|
||||
ret = i2c_master_send(client, data, 2);
|
||||
|
Reference in New Issue
Block a user