media: platform: ti: Fix typo 'the the' in comment

Message ID 20220722063341.69913-1-slark_xiao@163.com (mailing list archive)
State Accepted
Delegated to: Hans Verkuil
Headers
Series media: platform: ti: Fix typo 'the the' in comment |

Commit Message

Slark Xiao July 22, 2022, 6:33 a.m. UTC
  Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
 drivers/media/platform/ti/davinci/vpbe.c | 2 +-
 drivers/media/platform/ti/omap3isp/isp.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Laurent Pinchart July 31, 2022, 9:40 p.m. UTC | #1
Hi Slark,

Thank you for the patch.

On Fri, Jul 22, 2022 at 02:33:41PM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
> 
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/media/platform/ti/davinci/vpbe.c | 2 +-
>  drivers/media/platform/ti/omap3isp/isp.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/platform/ti/davinci/vpbe.c b/drivers/media/platform/ti/davinci/vpbe.c
> index 5f0aeb744e81..509ecc84624e 100644
> --- a/drivers/media/platform/ti/davinci/vpbe.c
> +++ b/drivers/media/platform/ti/davinci/vpbe.c
> @@ -280,7 +280,7 @@ static int vpbe_set_default_output(struct vpbe_device *vpbe_dev)
>   * vpbe_get_output - Get output
>   * @vpbe_dev: vpbe device ptr
>   *
> - * return current vpbe output to the the index
> + * return current vpbe output to the index
>   */
>  static unsigned int vpbe_get_output(struct vpbe_device *vpbe_dev)
>  {
> diff --git a/drivers/media/platform/ti/omap3isp/isp.c b/drivers/media/platform/ti/omap3isp/isp.c
> index 4c937f3f323e..f99dda7337b9 100644
> --- a/drivers/media/platform/ti/omap3isp/isp.c
> +++ b/drivers/media/platform/ti/omap3isp/isp.c
> @@ -1528,7 +1528,7 @@ void omap3isp_print_status(struct isp_device *isp)
>   * To solve this problem power management support is split into prepare/complete
>   * and suspend/resume operations. The pipelines are stopped in prepare() and the
>   * ISP clocks get disabled in suspend(). Similarly, the clocks are re-enabled in
> - * resume(), and the the pipelines are restarted in complete().
> + * resume(), and the pipelines are restarted in complete().
>   *
>   * TODO: PM dependencies between the ISP and sensors are not modelled explicitly
>   * yet.
  

Patch

diff --git a/drivers/media/platform/ti/davinci/vpbe.c b/drivers/media/platform/ti/davinci/vpbe.c
index 5f0aeb744e81..509ecc84624e 100644
--- a/drivers/media/platform/ti/davinci/vpbe.c
+++ b/drivers/media/platform/ti/davinci/vpbe.c
@@ -280,7 +280,7 @@  static int vpbe_set_default_output(struct vpbe_device *vpbe_dev)
  * vpbe_get_output - Get output
  * @vpbe_dev: vpbe device ptr
  *
- * return current vpbe output to the the index
+ * return current vpbe output to the index
  */
 static unsigned int vpbe_get_output(struct vpbe_device *vpbe_dev)
 {
diff --git a/drivers/media/platform/ti/omap3isp/isp.c b/drivers/media/platform/ti/omap3isp/isp.c
index 4c937f3f323e..f99dda7337b9 100644
--- a/drivers/media/platform/ti/omap3isp/isp.c
+++ b/drivers/media/platform/ti/omap3isp/isp.c
@@ -1528,7 +1528,7 @@  void omap3isp_print_status(struct isp_device *isp)
  * To solve this problem power management support is split into prepare/complete
  * and suspend/resume operations. The pipelines are stopped in prepare() and the
  * ISP clocks get disabled in suspend(). Similarly, the clocks are re-enabled in
- * resume(), and the the pipelines are restarted in complete().
+ * resume(), and the pipelines are restarted in complete().
  *
  * TODO: PM dependencies between the ISP and sensors are not modelled explicitly
  * yet.