OSDN Git Service

drm/dp: make aux retries less chatty
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 21 Mar 2014 14:34:06 +0000 (10:34 -0400)
committerChristian König <christian.koenig@amd.com>
Tue, 25 Mar 2014 12:13:20 +0000 (13:13 +0100)
Switch to debug only to avoid flooding the logs.
This mirrors the behavior in some other drivers.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/drm_dp_helper.c

index 35251af..74724aa 100644 (file)
@@ -402,7 +402,7 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request,
                }
        }
 
-       DRM_ERROR("too many retries, giving up\n");
+       DRM_DEBUG_KMS("too many retries, giving up\n");
        return -EIO;
 }
 
@@ -656,7 +656,7 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)
                }
        }
 
-       DRM_ERROR("too many retries, giving up\n");
+       DRM_DEBUG_KMS("too many retries, giving up\n");
        return -EREMOTEIO;
 }