drm/i915/dsi: Replace MIPI command error message with debug message
authorMika Kahola <[email protected]>
Fri, 1 Sep 2017 07:51:01 +0000 (10:51 +0300)
committerJani Nikula <[email protected]>
Wed, 13 Sep 2017 08:03:26 +0000 (11:03 +0300)
Error message indicating that the same MIPI command is sent
consecutively is perhaps too strongly said. Let's replace that as a
debug message instead.

Signed-off-by: Mika Kahola <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_dsi.c

index fc25d7d2d9428fdcefd248cc719ec31994445177..578254ac799cd28bb664d89b411c601b80cf9baa 100644 (file)
@@ -263,7 +263,7 @@ static int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs,
 
        /* XXX: old code skips write if control unchanged */
        if (cmd == I915_READ(MIPI_DPI_CONTROL(port)))
-               DRM_ERROR("Same special packet %02x twice in a row.\n", cmd);
+               DRM_DEBUG_KMS("Same special packet %02x twice in a row.\n", cmd);
 
        I915_WRITE(MIPI_DPI_CONTROL(port), cmd);