diff mbox series

[23/30] drm/amdgpu/dc: fix typos in comments

Message ID 20220314115354.144023-24-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/amd/display/dc/bios/command_table.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Alex Deucher March 15, 2022, 3:51 p.m. UTC | #1
Applied.  Thanks!

On Mon, Mar 14, 2022 at 8:01 AM 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/amd/display/dc/bios/command_table.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table.c b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
> index ad13e4e36d77..0e36cd800fc9 100644
> --- a/drivers/gpu/drm/amd/display/dc/bios/command_table.c
> +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
> @@ -456,7 +456,7 @@ static enum bp_result transmitter_control_v2(
>                 if ((CONNECTOR_ID_DUAL_LINK_DVII == connector_id) ||
>                                 (CONNECTOR_ID_DUAL_LINK_DVID == connector_id))
>                         /* on INIT this bit should be set according to the
> -                        * phisycal connector
> +                        * physical connector
>                          * Bit0: dual link connector flag
>                          * =0 connector is single link connector
>                          * =1 connector is dual link connector
> @@ -468,7 +468,7 @@ static enum bp_result transmitter_control_v2(
>                                 cpu_to_le16((uint8_t)cntl->connector_obj_id.id);
>                 break;
>         case TRANSMITTER_CONTROL_SET_VOLTAGE_AND_PREEMPASIS:
> -               /* votage swing and pre-emphsis */
> +               /* voltage swing and pre-emphsis */
>                 params.asMode.ucLaneSel = (uint8_t)cntl->lane_select;
>                 params.asMode.ucLaneSet = (uint8_t)cntl->lane_settings;
>                 break;
> @@ -2120,7 +2120,7 @@ static enum bp_result program_clock_v5(
>         memset(&params, 0, sizeof(params));
>         if (!bp->cmd_helper->clock_source_id_to_atom(
>                         bp_params->pll_id, &atom_pll_id)) {
> -               BREAK_TO_DEBUGGER(); /* Invalid Inpute!! */
> +               BREAK_TO_DEBUGGER(); /* Invalid Input!! */
>                 return BP_RESULT_BADINPUT;
>         }
>
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table.c b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
index ad13e4e36d77..0e36cd800fc9 100644
--- a/drivers/gpu/drm/amd/display/dc/bios/command_table.c
+++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c
@@ -456,7 +456,7 @@  static enum bp_result transmitter_control_v2(
 		if ((CONNECTOR_ID_DUAL_LINK_DVII == connector_id) ||
 				(CONNECTOR_ID_DUAL_LINK_DVID == connector_id))
 			/* on INIT this bit should be set according to the
-			 * phisycal connector
+			 * physical connector
 			 * Bit0: dual link connector flag
 			 * =0 connector is single link connector
 			 * =1 connector is dual link connector
@@ -468,7 +468,7 @@  static enum bp_result transmitter_control_v2(
 				cpu_to_le16((uint8_t)cntl->connector_obj_id.id);
 		break;
 	case TRANSMITTER_CONTROL_SET_VOLTAGE_AND_PREEMPASIS:
-		/* votage swing and pre-emphsis */
+		/* voltage swing and pre-emphsis */
 		params.asMode.ucLaneSel = (uint8_t)cntl->lane_select;
 		params.asMode.ucLaneSet = (uint8_t)cntl->lane_settings;
 		break;
@@ -2120,7 +2120,7 @@  static enum bp_result program_clock_v5(
 	memset(&params, 0, sizeof(params));
 	if (!bp->cmd_helper->clock_source_id_to_atom(
 			bp_params->pll_id, &atom_pll_id)) {
-		BREAK_TO_DEBUGGER(); /* Invalid Inpute!! */
+		BREAK_TO_DEBUGGER(); /* Invalid Input!! */
 		return BP_RESULT_BADINPUT;
 	}