mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
vlock: disable some log [1/1]
PD#SWPL-6994 Problem: disable some log Solution: disable some log Verify: tl1 Change-Id: I53ceafbd35445f60d6c59ff9fd2632e8a6fc794f Signed-off-by: Yong Qin <yong.qin@amlogic.com>
This commit is contained in:
@@ -1933,7 +1933,9 @@ void vlock_fsm_check_lock_sts(struct stvlock_sig_sts *pvlock,
|
||||
|
||||
/*check frq lock*/
|
||||
if (pvlock->frqlock_sts != frqlock_sts) {
|
||||
pr_info("frq lock sts(%d,%d) cnt:%d\n", pvlock->frqlock_sts,
|
||||
if (vlock_debug & VLOCK_DEBUG_INFO)
|
||||
pr_info("frq lock sts(%d,%d) cnt:%d\n",
|
||||
pvlock->frqlock_sts,
|
||||
frqlock_sts, pvlock->frame_cnt_in);
|
||||
pvlock->frqlock_sts = frqlock_sts;
|
||||
}
|
||||
@@ -1961,7 +1963,9 @@ void vlock_fsm_check_lock_sts(struct stvlock_sig_sts *pvlock,
|
||||
/*check phase lock*/
|
||||
if (pvlock->phlock_en &&
|
||||
(pvlock->phlock_sts != phlock_sts)) {
|
||||
pr_info("ph lock sts(%d,%d) cnt:%d\n", pvlock->phlock_sts,
|
||||
if (vlock_debug & VLOCK_DEBUG_INFO)
|
||||
pr_info("ph lock sts(%d,%d) cnt:%d\n",
|
||||
pvlock->phlock_sts,
|
||||
phlock_sts, pvlock->frame_cnt_in);
|
||||
pvlock->phlock_sts = phlock_sts;
|
||||
if (phlock_sts && !pvlock->ss_sts &&
|
||||
@@ -1976,7 +1980,8 @@ void vlock_fsm_check_lock_sts(struct stvlock_sig_sts *pvlock,
|
||||
pvlock->phlock_en) {
|
||||
/*error check*/
|
||||
if ((pvlock->frame_cnt_in >= 3500) && (!pvlock->ss_sts)) {
|
||||
pr_info("vlock warning: set back ss on(%d, %d)\n",
|
||||
if (vlock_debug & VLOCK_DEBUG_INFO)
|
||||
pr_info("vlock warning: set back ss on(%d, %d)\n",
|
||||
frqlock_sts, phlock_sts);
|
||||
pvlock->pll_mode_pause = true;
|
||||
pvlock->ss_sts = true;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <linux/amlogic/media/vfm/vframe.h>
|
||||
#include "linux/amlogic/media/amvecm/ve.h"
|
||||
|
||||
#define VLOCK_VER "Ref.2019/4/10a finetune phase lock"
|
||||
#define VLOCK_VER "Ref.2019/4/19:disable some log"
|
||||
|
||||
#define VLOCK_REG_NUM 33
|
||||
|
||||
|
||||
Reference in New Issue
Block a user