[PATCH] drm/gma500: drop unexpected word 'for' in comments

Jiang Jian jiangjian at cdjrlc.com
Thu Jun 23 10:01:55 UTC 2022


there is an unexpected word 'for' in the comments that need to be dropped

file - drivers/gpu/drm/gma500/oaktrail_crtc.c
line - 312

/* Wait for for the pipe disable to take effect. */

changed to:

/* Wait for the pipe disable to take effect. */

Signed-off-by: Jiang Jian <jiangjian at cdjrlc.com>
---
 drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index 22398d34853a..407ce948bf68 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -309,7 +309,7 @@ static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode)
 						   temp & ~PIPEACONF_ENABLE, i);
 				REG_READ_WITH_AUX(map->conf, i);
 			}
-			/* Wait for for the pipe disable to take effect. */
+			/* Wait for the pipe disable to take effect. */
 			gma_wait_for_vblank(dev);
 
 			temp = REG_READ_WITH_AUX(map->dpll, i);
-- 
2.17.1



More information about the dri-devel mailing list