From cededce3adc41120a3431d43ff04317ccb93ca97 Mon Sep 17 00:00:00 2001 From: jintao xu Date: Mon, 13 Nov 2017 16:57:12 +0800 Subject: [PATCH] ionvideo: frame_sync: rm logs for vts PD#152092: rm logs for vts Change-Id: I42db4d660fa098a870252426d8e1fafab210c820 Signed-off-by: jintao xu --- drivers/amlogic/media/frame_sync/ptsserv.c | 4 +++- drivers/amlogic/media/frame_sync/timestamp.c | 5 +++-- drivers/amlogic/media/video_processor/ionvideo/ionvideo.c | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/amlogic/media/frame_sync/ptsserv.c b/drivers/amlogic/media/frame_sync/ptsserv.c index dc8193344d3d..dcb4af3d50de 100644 --- a/drivers/amlogic/media/frame_sync/ptsserv.c +++ b/drivers/amlogic/media/frame_sync/ptsserv.c @@ -15,6 +15,7 @@ * */ +#define DEBUG #include #include #include @@ -439,7 +440,8 @@ static int pts_checkin_offset_inline(u8 type, u32 offset, u32 val, u64 uS64) *if(tsync_get_debug_pts_checkin() && * tsync_get_debug_vpts()) { */ - pr_info("first check in vpts <0x%x:0x%x> ok!\n", offset, + pr_debug("first check in vpts <0x%x:0x%x> ok!\n", + offset, val); /* } */ } diff --git a/drivers/amlogic/media/frame_sync/timestamp.c b/drivers/amlogic/media/frame_sync/timestamp.c index 2bfda6157726..4cfbec1897d6 100644 --- a/drivers/amlogic/media/frame_sync/timestamp.c +++ b/drivers/amlogic/media/frame_sync/timestamp.c @@ -15,6 +15,7 @@ * */ +#define DEBUG #include #include #include @@ -124,7 +125,7 @@ EXPORT_SYMBOL(timestamp_pcrscr_set); void timestamp_firstvpts_set(u32 pts) { first_vpts = pts; - pr_info("video first pts = %x\n", first_vpts); + pr_debug("video first pts = %x\n", first_vpts); } EXPORT_SYMBOL(timestamp_firstvpts_set); @@ -137,7 +138,7 @@ EXPORT_SYMBOL(timestamp_firstvpts_get); void timestamp_checkin_firstvpts_set(u32 pts) { first_checkin_vpts = pts; - pr_info("video first checkin pts = %x\n", first_checkin_vpts); + pr_debug("video first checkin pts = %x\n", first_checkin_vpts); } EXPORT_SYMBOL(timestamp_checkin_firstvpts_set); diff --git a/drivers/amlogic/media/video_processor/ionvideo/ionvideo.c b/drivers/amlogic/media/video_processor/ionvideo/ionvideo.c index 3dd3843e4bf0..9005473b8347 100644 --- a/drivers/amlogic/media/video_processor/ionvideo/ionvideo.c +++ b/drivers/amlogic/media/video_processor/ionvideo/ionvideo.c @@ -932,7 +932,7 @@ static int video_receiver_event_fun(int type, void *data, void *private_data) } /*tsync_avevent(VIDEO_STOP, 0);*/ - IONVID_INFO("unreg:ionvideo\n"); + IONVID_DBG("unreg:ionvideo\n"); } else if (type == VFRAME_EVENT_PROVIDER_REG) { dev->receiver_register = 1; dev->is_omx_video_started = 1; @@ -940,7 +940,7 @@ static int video_receiver_event_fun(int type, void *data, void *private_data) dev->active_state = ION_ACTIVE; init_completion(&dev->inactive_done); - IONVID_INFO("reg:ionvideo\n"); + IONVID_DBG("reg:ionvideo\n"); } else if (type == VFRAME_EVENT_PROVIDER_QUREY_STATE) { if (dev->vf_wait_cnt > 1) return RECEIVER_INACTIVE;