2022-07-22 06:37:53

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] media: platform: ti: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
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.
--
2.25.1


2022-07-31 22:11:44

by Laurent Pinchart

[permalink] [raw]
Subject: Re: [PATCH] media: platform: ti: Fix typo 'the the' in comment

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 <[email protected]>

Reviewed-by: Laurent Pinchart <[email protected]>

> ---
> 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.

--
Regards,

Laurent Pinchart