omx: add print into level control [1/1]
authorjintao xu <jintao.xu@amlogic.com>
Thu, 31 Jan 2019 11:15:24 +0000 (19:15 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:06 +0000 (20:22 +0800)
PD#SWPL-85

Problem:
print into level control

Solution:
print into level control

Verify:
U212

Change-Id: Ib0fdc02f26e75c20e48171bca5ebef072947d78c
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
drivers/amlogic/media/video_processor/videosync/videosync.c

index af95be6..9f4c3df 100644 (file)
@@ -959,7 +959,8 @@ static int videosync_receiver_event_fun(int type, void *data,
                                &dev_s->inactive_done,
                                msecs_to_jiffies(100));
                        if (time_left == 0)
-                               pr_err("videosync: unreg timeout\n");
+                               vp_print(RECEIVER_NAME, PRINT_OTHER,
+                                       "videosync: unreg timeout\n");
                }
                clear_ready_queue(dev_s);
                clear_queued_queue(dev_s);
@@ -1112,7 +1113,8 @@ static void videosync_thread_tick(struct videosync_dev *dev)
                time_left = wait_for_completion_timeout(&dev->thread_active,
                        msecs_to_jiffies(500));
                if (time_left == 0)
-                       pr_err("videosync: thread_tick timeout\n");
+                       vp_print(RECEIVER_NAME, PRINT_OTHER,
+                               "videosync: thread_tick timeout\n");
        }
 }