diff options
-rw-r--r-- | drivers/media/video/omap3isp/ispqueue.c | 2 | ||||
-rw-r--r-- | drivers/media/video/omap3isp/ispresizer.c | 6 | ||||
-rw-r--r-- | drivers/media/video/v4l2-common.c | 2 | ||||
-rw-r--r-- | include/media/v4l2-common.h | 4 | ||||
-rw-r--r-- | include/media/v4l2-subdev.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/omap3isp/ispqueue.c b/drivers/media/video/omap3isp/ispqueue.c index e912f0cbd6ef..15bf3eab2224 100644 --- a/drivers/media/video/omap3isp/ispqueue.c +++ b/drivers/media/video/omap3isp/ispqueue.c | |||
@@ -647,7 +647,7 @@ static int isp_video_queue_alloc(struct isp_video_queue *queue, | |||
647 | if (ret < 0) | 647 | if (ret < 0) |
648 | return ret; | 648 | return ret; |
649 | 649 | ||
650 | /* Bail out of no buffers should be allocated. */ | 650 | /* Bail out if no buffers should be allocated. */ |
651 | if (nbuffers == 0) | 651 | if (nbuffers == 0) |
652 | return 0; | 652 | return 0; |
653 | 653 | ||
diff --git a/drivers/media/video/omap3isp/ispresizer.c b/drivers/media/video/omap3isp/ispresizer.c index a9bfd0afb515..d11fb261d530 100644 --- a/drivers/media/video/omap3isp/ispresizer.c +++ b/drivers/media/video/omap3isp/ispresizer.c | |||
@@ -690,7 +690,7 @@ static void resizer_print_status(struct isp_res_device *res) | |||
690 | } | 690 | } |
691 | 691 | ||
692 | /* | 692 | /* |
693 | * resizer_calc_ratios - Helper function for calculate resizer ratios | 693 | * resizer_calc_ratios - Helper function for calculating resizer ratios |
694 | * @res: pointer to resizer private data structure | 694 | * @res: pointer to resizer private data structure |
695 | * @input: input frame size | 695 | * @input: input frame size |
696 | * @output: output frame size | 696 | * @output: output frame size |
@@ -734,7 +734,7 @@ static void resizer_print_status(struct isp_res_device *res) | |||
734 | * value will still satisfy the original inequality, as b will disappear when | 734 | * value will still satisfy the original inequality, as b will disappear when |
735 | * the expression will be shifted right by 8. | 735 | * the expression will be shifted right by 8. |
736 | * | 736 | * |
737 | * The reverted the equations thus become | 737 | * The reverted equations thus become |
738 | * | 738 | * |
739 | * - 8-phase, 4-tap mode | 739 | * - 8-phase, 4-tap mode |
740 | * hrsz = ((iw - 7) * 256 + 255 - 16 - 32 * sph) / (ow - 1) | 740 | * 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 | * loop', the smallest of the ratio values will be used, never exceeding the | 759 | * loop', the smallest of the ratio values will be used, never exceeding the |
760 | * requested input size. | 760 | * requested input size. |
761 | * | 761 | * |
762 | * We first clamp the output size according to the hardware capabilitie to avoid | 762 | * We first clamp the output size according to the hardware capability to avoid |
763 | * auto-cropping the input more than required to satisfy the TRM equations. The | 763 | * auto-cropping the input more than required to satisfy the TRM equations. The |
764 | * minimum output size is achieved with a scaling factor of 1024. It is thus | 764 | * minimum output size is achieved with a scaling factor of 1024. It is thus |
765 | * computed using the 7-tap equations. | 765 | * computed using the 7-tap equations. |
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c index 1baec8393306..105f88cdb9d6 100644 --- a/drivers/media/video/v4l2-common.c +++ b/drivers/media/video/v4l2-common.c | |||
@@ -418,7 +418,7 @@ EXPORT_SYMBOL_GPL(v4l2_i2c_tuner_addrs); | |||
418 | 418 | ||
419 | #if defined(CONFIG_SPI) | 419 | #if defined(CONFIG_SPI) |
420 | 420 | ||
421 | /* Load a spi sub-device. */ | 421 | /* Load an spi sub-device. */ |
422 | 422 | ||
423 | void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, | 423 | void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, |
424 | const struct v4l2_subdev_ops *ops) | 424 | const struct v4l2_subdev_ops *ops) |
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index a298ec49ddc4..4404829d48e5 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -133,7 +133,7 @@ struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, | |||
133 | struct i2c_adapter *adapter, struct i2c_board_info *info, | 133 | struct i2c_adapter *adapter, struct i2c_board_info *info, |
134 | const unsigned short *probe_addrs); | 134 | const unsigned short *probe_addrs); |
135 | 135 | ||
136 | /* Initialize an v4l2_subdev with data from an i2c_client struct */ | 136 | /* Initialize a v4l2_subdev with data from an i2c_client struct */ |
137 | void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, | 137 | void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, |
138 | const struct v4l2_subdev_ops *ops); | 138 | const struct v4l2_subdev_ops *ops); |
139 | /* Return i2c client address of v4l2_subdev. */ | 139 | /* Return i2c client address of v4l2_subdev. */ |
@@ -166,7 +166,7 @@ struct spi_device; | |||
166 | struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, | 166 | struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, |
167 | struct spi_master *master, struct spi_board_info *info); | 167 | struct spi_master *master, struct spi_board_info *info); |
168 | 168 | ||
169 | /* Initialize an v4l2_subdev with data from an spi_device struct */ | 169 | /* Initialize a v4l2_subdev with data from an spi_device struct */ |
170 | void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, | 170 | void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, |
171 | const struct v4l2_subdev_ops *ops); | 171 | const struct v4l2_subdev_ops *ops); |
172 | #endif | 172 | #endif |
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index c35a3545e273..4cc1652284b6 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -120,7 +120,7 @@ struct v4l2_subdev_io_pin_config { | |||
120 | each pin being configured. This function could be called at times | 120 | each pin being configured. This function could be called at times |
121 | other than just subdevice initialization. | 121 | other than just subdevice initialization. |
122 | 122 | ||
123 | init: initialize the sensor registors to some sort of reasonable default | 123 | init: initialize the sensor registers to some sort of reasonable default |
124 | values. Do not use for new drivers and should be removed in existing | 124 | values. Do not use for new drivers and should be removed in existing |
125 | drivers. | 125 | drivers. |
126 | 126 | ||