vvc1: less pr_info spam
authorRay <1458889+Raybuntu@users.noreply.github.com>
Wed, 20 Mar 2019 08:36:41 +0000 (09:36 +0100)
committerNick Xie <nick@khadas.com>
Fri, 12 Jul 2019 05:37:01 +0000 (13:37 +0800)
drivers/amlogic/media_modules/frame_provider/decoder/vc1/vvc1.c

index a488970..3037f06 100644 (file)
@@ -382,10 +382,10 @@ static irqreturn_t vvc1_isr(int irq, void *dev_id)
                                        frm.end_pts = pts;
                                        frm.rate = (frm.end_pts -
                                                frm.start_pts) / frm.num;
-                                       pr_info("frate before=%d,%d,num=%d\n",
-                                       frm.rate,
-                                       DUR2PTS(vvc1_amstream_dec_info.rate),
-                                       frm.num);
+                                       //pr_info("frate before=%d,%d,num=%d\n",
+                                       //frm.rate,
+                                       //DUR2PTS(vvc1_amstream_dec_info.rate),
+                                       //frm.num);
                                        /* check if measured rate is same as
                                         * settings from upper layer
                                         * and correct it if necessary
@@ -406,10 +406,10 @@ static irqreturn_t vvc1_isr(int irq, void *dev_id)
                                                vvc1_amstream_dec_info.rate),
                                                RATE_30_FPS,
                                                RATE_CORRECTION_THRESHOLD))) {
-                                               pr_info(
-                                               "vvc1: frate from %d to %d\n",
-                                               vvc1_amstream_dec_info.rate,
-                                               PTS2DUR(frm.rate));
+                                               //pr_info(
+                                               //"vvc1: frate from %d to %d\n",
+                                               //vvc1_amstream_dec_info.rate,
+                                               //PTS2DUR(frm.rate));
 
                                                vvc1_amstream_dec_info.rate =
                                                        PTS2DUR(frm.rate);