diff mbox

[2/2] drm/amdgpu/display: successful spelling fix

Message ID 20180202213725.35978-2-dbehr@chromium.org (mailing list archive)
State New, archived
Headers show

Commit Message

Dominik Behr Feb. 2, 2018, 9:37 p.m. UTC
From: Dominik Behr <dbehr@chromium.org>

Replace SUCESSFULL with SUCCESSFUL.

Signed-off-by: Dominik Behr <dbehr@chromium.org>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c               | 2 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c           | 4 ++--
 drivers/gpu/drm/amd/display/include/ddc_service_types.h     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

Comments

Harry Wentland Feb. 2, 2018, 10:01 p.m. UTC | #1
On 2018-02-02 04:37 PM, dbehr@chromium.org wrote:
> From: Dominik Behr <dbehr@chromium.org>
> 
> Replace SUCESSFULL with SUCCESSFUL.
> 
> Signed-off-by: Dominik Behr <dbehr@chromium.org>

Series is
Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Will pull it into amd-stg over the weekend or on Monday.

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
>  drivers/gpu/drm/amd/display/dc/core/dc_link.c               | 2 +-
>  drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c           | 4 ++--
>  drivers/gpu/drm/amd/display/include/ddc_service_types.h     | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> index 1e8a21b67df7..3b05900ccccd 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> @@ -130,7 +130,7 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
>  		 msg->address,
>  		 msg->buffer,
>  		 msg->size,
> -		 r == DDC_RESULT_SUCESSFULL);
> +		 r == DDC_RESULT_SUCCESSFUL);
>  #endif
>  
>  	return msg->size;
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> index 0023754e034b..3abd0f1a287f 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> @@ -1176,7 +1176,7 @@ static void dpcd_configure_panel_mode(
>  				&edp_config_set.raw,
>  				sizeof(edp_config_set.raw));
>  
> -			ASSERT(result == DDC_RESULT_SUCESSFULL);
> +			ASSERT(result == DDC_RESULT_SUCCESSFUL);
>  		}
>  	}
>  	dm_logger_write(link->ctx->logger, LOG_DETECTION_DP_CAPS,
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
> index d5294798b0a5..6b69b339dba2 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
> @@ -661,7 +661,7 @@ enum ddc_result dal_ddc_service_read_dpcd_data(
>  		ddc->ctx->i2caux,
>  		ddc->ddc_pin,
>  		&command))
> -		return DDC_RESULT_SUCESSFULL;
> +		return DDC_RESULT_SUCCESSFUL;
>  
>  	return DDC_RESULT_FAILED_OPERATION;
>  }
> @@ -698,7 +698,7 @@ enum ddc_result dal_ddc_service_write_dpcd_data(
>  		ddc->ctx->i2caux,
>  		ddc->ddc_pin,
>  		&command))
> -		return DDC_RESULT_SUCESSFULL;
> +		return DDC_RESULT_SUCCESSFUL;
>  
>  	return DDC_RESULT_FAILED_OPERATION;
>  }
> diff --git a/drivers/gpu/drm/amd/display/include/ddc_service_types.h b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
> index 019e7a095ea1..f3bf749b3636 100644
> --- a/drivers/gpu/drm/amd/display/include/ddc_service_types.h
> +++ b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
> @@ -32,7 +32,7 @@
>  
>  enum ddc_result {
>  	DDC_RESULT_UNKNOWN = 0,
> -	DDC_RESULT_SUCESSFULL,
> +	DDC_RESULT_SUCCESSFUL,
>  	DDC_RESULT_FAILED_CHANNEL_BUSY,
>  	DDC_RESULT_FAILED_TIMEOUT,
>  	DDC_RESULT_FAILED_PROTOCOL_ERROR,
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index 1e8a21b67df7..3b05900ccccd 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@ -130,7 +130,7 @@  static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
 		 msg->address,
 		 msg->buffer,
 		 msg->size,
-		 r == DDC_RESULT_SUCESSFULL);
+		 r == DDC_RESULT_SUCCESSFUL);
 #endif
 
 	return msg->size;
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 0023754e034b..3abd0f1a287f 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -1176,7 +1176,7 @@  static void dpcd_configure_panel_mode(
 				&edp_config_set.raw,
 				sizeof(edp_config_set.raw));
 
-			ASSERT(result == DDC_RESULT_SUCESSFULL);
+			ASSERT(result == DDC_RESULT_SUCCESSFUL);
 		}
 	}
 	dm_logger_write(link->ctx->logger, LOG_DETECTION_DP_CAPS,
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
index d5294798b0a5..6b69b339dba2 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
@@ -661,7 +661,7 @@  enum ddc_result dal_ddc_service_read_dpcd_data(
 		ddc->ctx->i2caux,
 		ddc->ddc_pin,
 		&command))
-		return DDC_RESULT_SUCESSFULL;
+		return DDC_RESULT_SUCCESSFUL;
 
 	return DDC_RESULT_FAILED_OPERATION;
 }
@@ -698,7 +698,7 @@  enum ddc_result dal_ddc_service_write_dpcd_data(
 		ddc->ctx->i2caux,
 		ddc->ddc_pin,
 		&command))
-		return DDC_RESULT_SUCESSFULL;
+		return DDC_RESULT_SUCCESSFUL;
 
 	return DDC_RESULT_FAILED_OPERATION;
 }
diff --git a/drivers/gpu/drm/amd/display/include/ddc_service_types.h b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
index 019e7a095ea1..f3bf749b3636 100644
--- a/drivers/gpu/drm/amd/display/include/ddc_service_types.h
+++ b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
@@ -32,7 +32,7 @@ 
 
 enum ddc_result {
 	DDC_RESULT_UNKNOWN = 0,
-	DDC_RESULT_SUCESSFULL,
+	DDC_RESULT_SUCCESSFUL,
 	DDC_RESULT_FAILED_CHANNEL_BUSY,
 	DDC_RESULT_FAILED_TIMEOUT,
 	DDC_RESULT_FAILED_PROTOCOL_ERROR,