ionvideo: frame_sync: rm logs for vts
authorjintao xu <jintao.xu@amlogic.com>
Mon, 13 Nov 2017 08:57:12 +0000 (16:57 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 13 Nov 2017 10:58:06 +0000 (03:58 -0700)
PD#152092: rm logs for vts

Change-Id: I42db4d660fa098a870252426d8e1fafab210c820
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
drivers/amlogic/media/frame_sync/ptsserv.c
drivers/amlogic/media/frame_sync/timestamp.c
drivers/amlogic/media/video_processor/ionvideo/ionvideo.c

index dc81933..dcb4af3 100644 (file)
@@ -15,6 +15,7 @@
  *
  */
 
+#define DEBUG
 #include <linux/module.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
@@ -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);
                        /* } */
                }
index 2bfda61..4cfbec1 100644 (file)
@@ -15,6 +15,7 @@
  *
  */
 
+#define DEBUG
 #include <linux/module.h>
 #include <linux/amlogic/media/frame_sync/tsync.h>
 #include <linux/amlogic/media/utils/vdec_reg.h>
@@ -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);
 
index 3dd3843..9005473 100644 (file)
@@ -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;