OSDN Git Service

drm/amdgpu/display: add fallthrough comment
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:38:01 +0000 (16:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:03:45 +0000 (17:03 -0500)
To avoid a compiler warning.

Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c

index 191b68b..f1a5d2c 100644 (file)
@@ -645,6 +645,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;