exynos: video: Correct debug output
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:16:14 +0000 (18:16 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 03:06:14 +0000 (21:06 -0600)
We should not print a message from the driver when the display is set up.
This is normal behaviour. Change this message to use debug().

Also remove the double newline on another debug message.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/exynos_dp.c
drivers/video/exynos_dp_lowlevel.c

index f60b060ec1a9c97cac8c7d63cb0ca1eb5a25863c..c3f7a3a54ae16a4fed035d15cfef3e7d273bbf49 100644 (file)
@@ -967,7 +967,7 @@ unsigned int exynos_init_dp(void)
                return ret;
        }
 
-       printf("Exynos DP init done\n");
+       debug("Exynos DP init done\n");
 
        return ret;
 }
index bf0ea108e89352395abf40db3da0b92c11f8ccf1..05118f801b33403b235cdf6df843529c7edf3df0 100644 (file)
@@ -823,7 +823,7 @@ int exynos_dp_read_bytes_from_i2c(unsigned int device_addr,
                        reg = readl(&dp_regs->aux_rx_comm);
                        if (reg == AUX_RX_COMM_AUX_DEFER ||
                                reg == AUX_RX_COMM_I2C_DEFER) {
-                               printf("DP Defer: %d\n\n", reg);
+                               printf("DP Defer: %d\n", reg);
                                defer = 1;
                        }
                }