From: Dominik Behr <dbehr@xxxxxxxxxxxx> Replace SUCESSFULL with SUCCESSFUL. Signed-off-by: Dominik Behr <dbehr@xxxxxxxxxxxx> --- 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, -- 2.16.0.rc1.238.g530d649a79-goog _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel