mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
sx933x: reduce kernel log foot print
Limit number of print messages in run time. If necessary, debug messages can be truned on dynamically through kernel debug interface echo "file sx933x.c +p" > /d/dynamic_debug/control Change-Id: Ic317c4076540600f6838a0dae24ca3aaefcd5f6c Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Reviewed-on: https://gerrit.mot.com/1264922 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a9f24ec5ad
commit
e7dc63cfc0
1 changed files with 2 additions and 2 deletions
|
|
@ -42,9 +42,9 @@
|
|||
#if SX933x_DEBUG
|
||||
#define LOG_INFO(fmt, args...) pr_info(LOG_TAG fmt, ##args)
|
||||
#else
|
||||
#define LOG_INFO(fmt, args...)
|
||||
#define LOG_INFO(fmt, args...) pr_debug(LOG_TAG fmt, ##args)
|
||||
#endif
|
||||
#define LOG_DBG(fmt, args...) pr_info(LOG_TAG fmt, ##args)
|
||||
#define LOG_DBG(fmt, args...) pr_debug(LOG_TAG fmt, ##args)
|
||||
|
||||
#define USE_DTS_REG
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue