drm: Fix the 'native defer' message in drm_dp_i2c_do_msg()
authorTodd Previte <tprevite@gmail.com>
Wed, 15 Apr 2015 15:38:47 +0000 (08:38 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Apr 2015 12:42:04 +0000 (14:42 +0200)
The debug message is missing a newline at the end and it makes the
logs hard to read when a device defers a lot. Simple 2-character fix
adds the newline at the end.

Signed-off-by: Todd Previte <tprevite@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_dp_helper.c

index 71dcbc64ae98b860bbb4a6aed06f502dc83737f1..575172ed6c32825e39fb13b40a1f6a825d9881d3 100644 (file)
@@ -466,7 +466,7 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)
                        return -EREMOTEIO;
 
                case DP_AUX_NATIVE_REPLY_DEFER:
-                       DRM_DEBUG_KMS("native defer");
+                       DRM_DEBUG_KMS("native defer\n");
                        /*
                         * We could check for I2C bit rate capabilities and if
                         * available adjust this interval. We could also be