video: rockchip: mipi: Solve the problem of compiler error when open the debug

Change-Id: Ic74ca747df6dfc913bbf3a379f894635aef35919
Signed-off-by: xubilv <xbl@rock-chips.com>
This commit is contained in:
xubilv
2016-10-19 10:26:56 +08:00
committed by Huang, Tao
parent 4472aea26e
commit 58e952ec51

View File

@@ -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");