summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-12-05 22:38:01 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-12-06 00:24:16 +0100
commit7a02d2985f41539ad2196775085d05f98f4a6040 (patch)
tree631ccd39df96f2881155e68e45c8fba2299fd440 /drivers/gpu
parentdrm/amd/display: Increase the number of retries after AUX DEFER (diff)
downloadlinux-7a02d2985f41539ad2196775085d05f98f4a6040.tar.xz
linux-7a02d2985f41539ad2196775085d05f98f4a6040.zip
drm/amdgpu/display: add fallthrough comment
To avoid a compiler warning. Reviewed-by: Zhan Liu <zhan.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_aux.c1
1 files changed, 1 insertions, 0 deletions
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 46a603bfa4bd..793c0cec407f 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
@@ -617,6 +617,7 @@ bool dce_aux_transfer_with_retries(struct ddc_service *ddc,
case AUX_TRANSACTION_REPLY_AUX_DEFER:
case AUX_TRANSACTION_REPLY_I2C_OVER_AUX_DEFER:
retry_on_defer = true;
+ /* fall through */
case AUX_TRANSACTION_REPLY_I2C_OVER_AUX_NACK:
if (++aux_defer_retries >= AUX_MAX_DEFER_RETRIES) {
goto fail;