diff mbox series

[06/30] drm/bridge: analogix_dp: fix typos in comments

Message ID 20220314115354.144023-7-Julia.Lawall@inria.fr (mailing list archive)
State New, archived
Headers show
Series fix typos in comments | expand

Commit Message

Julia Lawall March 14, 2022, 11:53 a.m. UTC
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Robert Foss March 14, 2022, 12:08 p.m. UTC | #1
On Mon, Mar 14, 2022, 12:53 Julia Lawall <Julia.Lawall@inria.fr> wrote:

> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
>  drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> index eb590fb8e8d0..c719cd5fba77 100644
> --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
> @@ -567,7 +567,7 @@ static int
> analogix_dp_process_equalizer_training(struct analogix_dp_device *dp)
>         analogix_dp_get_adjust_training_lane(dp, adjust_request);
>
>         if (!analogix_dp_channel_eq_ok(link_status, link_align,
> lane_count)) {
> -               /* traing pattern Set to Normal */
> +               /* training pattern Set to Normal */
>                 retval = analogix_dp_training_pattern_dis(dp);
>                 if (retval < 0)
>                         return retval;
> @@ -1254,7 +1254,7 @@ static int analogix_dp_bridge_attach(struct
> drm_bridge *bridge,
>         /*
>          * NOTE: the connector registration is implemented in analogix
>          * platform driver, that to say connector would be exist after
> -        * plat_data->attch return, that's why we record the connector
> +        * plat_data->attach return, that's why we record the connector
>          * point after plat attached.
>          */
>         if (dp->plat_data->attach) {
>

Acked-by: Robert Foss <robert.foss@linaro.org>

>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index eb590fb8e8d0..c719cd5fba77 100644
--- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@ -567,7 +567,7 @@  static int analogix_dp_process_equalizer_training(struct analogix_dp_device *dp)
 	analogix_dp_get_adjust_training_lane(dp, adjust_request);
 
 	if (!analogix_dp_channel_eq_ok(link_status, link_align, lane_count)) {
-		/* traing pattern Set to Normal */
+		/* training pattern Set to Normal */
 		retval = analogix_dp_training_pattern_dis(dp);
 		if (retval < 0)
 			return retval;
@@ -1254,7 +1254,7 @@  static int analogix_dp_bridge_attach(struct drm_bridge *bridge,
 	/*
 	 * NOTE: the connector registration is implemented in analogix
 	 * platform driver, that to say connector would be exist after
-	 * plat_data->attch return, that's why we record the connector
+	 * plat_data->attach return, that's why we record the connector
 	 * point after plat attached.
 	 */
 	if (dp->plat_data->attach) {