From d389eafa3f50944ca272e0ec865143a9fb948e78 Mon Sep 17 00:00:00 2001 From: Wyatt Wood Date: Fri, 28 Jan 2022 22:03:56 +0800 Subject: [PATCH] drm/amd/display: Improve dce_aux_transfer_with_retries logging [Why + How] Payload reply is unknown and not handled in switch statement. Tested-by: Daniel Wheeler Reviewed-by: Anthony Koo Acked-by: Stylon Wang Signed-off-by: Wyatt Wood Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c index 6d42a9c..74b05b3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c @@ -878,7 +878,7 @@ bool dce_aux_transfer_with_retries(struct ddc_service *ddc, default: DC_TRACE_LEVEL_MESSAGE(DAL_TRACE_LEVEL_ERROR, LOG_FLAG_Error_I2cAux, - "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: FAILURE: AUX_TRANSACTION_REPLY_* unknown, default case."); + "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: FAILURE: AUX_TRANSACTION_REPLY_* unknown, default case. Reply: %d", *payload->reply); goto fail; } break; -- 2.7.4