Commit 9d380adf authored by Michael Jones's avatar Michael Jones Committed by Mauro Carvalho Chehab

[media] v4l2: typos

[mchehab@redhat.com: fix a merge conflict at Documentation/video4linux/v4l2-framework.txt]
Signed-off-by: default avatarMichael Jones <michael.jones@matrix-vision.de>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fdeae290
...@@ -647,7 +647,7 @@ static int isp_video_queue_alloc(struct isp_video_queue *queue, ...@@ -647,7 +647,7 @@ static int isp_video_queue_alloc(struct isp_video_queue *queue,
if (ret < 0) if (ret < 0)
return ret; return ret;
/* Bail out of no buffers should be allocated. */ /* Bail out if no buffers should be allocated. */
if (nbuffers == 0) if (nbuffers == 0)
return 0; return 0;
......
...@@ -690,7 +690,7 @@ static void resizer_print_status(struct isp_res_device *res) ...@@ -690,7 +690,7 @@ static void resizer_print_status(struct isp_res_device *res)
} }
/* /*
* resizer_calc_ratios - Helper function for calculate resizer ratios * resizer_calc_ratios - Helper function for calculating resizer ratios
* @res: pointer to resizer private data structure * @res: pointer to resizer private data structure
* @input: input frame size * @input: input frame size
* @output: output frame size * @output: output frame size
...@@ -734,7 +734,7 @@ static void resizer_print_status(struct isp_res_device *res) ...@@ -734,7 +734,7 @@ static void resizer_print_status(struct isp_res_device *res)
* value will still satisfy the original inequality, as b will disappear when * value will still satisfy the original inequality, as b will disappear when
* the expression will be shifted right by 8. * the expression will be shifted right by 8.
* *
* The reverted the equations thus become * The reverted equations thus become
* *
* - 8-phase, 4-tap mode * - 8-phase, 4-tap mode
* hrsz = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / (ow - 1) * hrsz = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / (ow - 1)
...@@ -759,7 +759,7 @@ static void resizer_print_status(struct isp_res_device *res) ...@@ -759,7 +759,7 @@ static void resizer_print_status(struct isp_res_device *res)
* loop', the smallest of the ratio values will be used, never exceeding the * loop', the smallest of the ratio values will be used, never exceeding the
* requested input size. * requested input size.
* *
* We first clamp the output size according to the hardware capabilitie to avoid * We first clamp the output size according to the hardware capability to avoid
* auto-cropping the input more than required to satisfy the TRM equations. The * auto-cropping the input more than required to satisfy the TRM equations. The
* minimum output size is achieved with a scaling factor of 1024. It is thus * minimum output size is achieved with a scaling factor of 1024. It is thus
* computed using the 7-tap equations. * computed using the 7-tap equations.
......
...@@ -418,7 +418,7 @@ EXPORT_SYMBOL_GPL(v4l2_i2c_tuner_addrs); ...@@ -418,7 +418,7 @@ EXPORT_SYMBOL_GPL(v4l2_i2c_tuner_addrs);
#if defined(CONFIG_SPI) #if defined(CONFIG_SPI)
/* Load a spi sub-device. */ /* Load an spi sub-device. */
void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi,
const struct v4l2_subdev_ops *ops) const struct v4l2_subdev_ops *ops)
......
...@@ -133,7 +133,7 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, ...@@ -133,7 +133,7 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev,
struct i2c_adapter *adapter, struct i2c_board_info *info, struct i2c_adapter *adapter, struct i2c_board_info *info,
const unsigned short *probe_addrs); const unsigned short *probe_addrs);
/* Initialize an v4l2_subdev with data from an i2c_client struct */ /* Initialize a v4l2_subdev with data from an i2c_client struct */
void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
const struct v4l2_subdev_ops *ops); const struct v4l2_subdev_ops *ops);
/* Return i2c client address of v4l2_subdev. */ /* Return i2c client address of v4l2_subdev. */
...@@ -166,7 +166,7 @@ struct spi_device; ...@@ -166,7 +166,7 @@ struct spi_device;
struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev,
struct spi_master *master, struct spi_board_info *info); struct spi_master *master, struct spi_board_info *info);
/* Initialize an v4l2_subdev with data from an spi_device struct */ /* Initialize a v4l2_subdev with data from an spi_device struct */
void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi,
const struct v4l2_subdev_ops *ops); const struct v4l2_subdev_ops *ops);
#endif #endif
......
...@@ -120,7 +120,7 @@ struct v4l2_subdev_io_pin_config { ...@@ -120,7 +120,7 @@ struct v4l2_subdev_io_pin_config {
each pin being configured. This function could be called at times each pin being configured. This function could be called at times
other than just subdevice initialization. other than just subdevice initialization.
init: initialize the sensor registors to some sort of reasonable default init: initialize the sensor registers to some sort of reasonable default
values. Do not use for new drivers and should be removed in existing values. Do not use for new drivers and should be removed in existing
drivers. drivers.
......
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