2022-08-23 16:07:47

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] disp/dpu1: fix repeated words in comments

Delete the redundant word 'is'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
index bce47647d891..59ca7d70a652 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@ -1169,7 +1169,7 @@ static int dpu_kms_hw_init(struct msm_kms *kms)

/*
* max crtc width is equal to the max mixer width * 2 and max height is
- * is 4K
+ * 4K
*/
dev->mode_config.max_width =
dpu_kms->catalog->caps->max_mixer_width * 2;
--
2.36.1


2022-08-23 19:29:55

by Abhinav Kumar

[permalink] [raw]
Subject: Re: [PATCH] disp/dpu1: fix repeated words in comments

Please fix the subject line .

It should be drm/msm/dpu: fix repeated words in comments

Also, you can add

Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")

On 8/23/2022 4:51 AM, Jilin Yuan wrote:
> Delete the redundant word 'is'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> index bce47647d891..59ca7d70a652 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> @@ -1169,7 +1169,7 @@ static int dpu_kms_hw_init(struct msm_kms *kms)
>
> /*
> * max crtc width is equal to the max mixer width * 2 and max height is
> - * is 4K
> + * 4K
> */
> dev->mode_config.max_width =
> dpu_kms->catalog->caps->max_mixer_width * 2;