From 2b433056d74fbe89c2cfe79b8f1113dce367b49b Mon Sep 17 00:00:00 2001 From: jintao xu Date: Thu, 31 Jan 2019 19:15:24 +0800 Subject: [PATCH] omx: add print into level control [1/1] PD#SWPL-85 Problem: print into level control Solution: print into level control Verify: U212 Change-Id: Ib0fdc02f26e75c20e48171bca5ebef072947d78c Signed-off-by: jintao xu --- drivers/amlogic/media/video_processor/videosync/videosync.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/video_processor/videosync/videosync.c b/drivers/amlogic/media/video_processor/videosync/videosync.c index af95be6..9f4c3dff 100644 --- a/drivers/amlogic/media/video_processor/videosync/videosync.c +++ b/drivers/amlogic/media/video_processor/videosync/videosync.c @@ -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"); } } -- 2.7.4