From 58e952ec51fd9ffae5ddd8dc5eac994879d87339 Mon Sep 17 00:00:00 2001 From: xubilv Date: Wed, 19 Oct 2016 10:26:56 +0800 Subject: [PATCH] video: rockchip: mipi: Solve the problem of compiler error when open the debug Change-Id: Ic74ca747df6dfc913bbf3a379f894635aef35919 Signed-off-by: xubilv --- drivers/video/rockchip/transmitter/rk32_mipi_dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c b/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c index 135dcd6710c8..469e5c4580e4 100755 --- a/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c +++ b/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c @@ -1394,7 +1394,7 @@ ssize_t reg_proc_write(struct file *file, const char __user *buff, size_t count, while (*(++data) == ' ') ; i = 0; - MIPI_TRACE("****%d:%d\n", data-buf, count); + do { if (i > 31) { MIPI_TRACE("payload entry is larger than 32\n"); @@ -1523,7 +1523,7 @@ ssize_t reg_proc_write1(struct file *file, const char __user *buff, size_t count while (*(++data) == ' ') ; i = 0; - MIPI_TRACE("****%d:%d\n", data-buf, count); + do { if (i > 31) { MIPI_TRACE("payload entry is larger than 32\n"); -- 2.34.1