From 38ee305644304939b6108b6151b4ea043057a09c Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Fri, 10 Mar 2017 16:00:40 -0800 Subject: [PATCH] qcacmn: HTC: Reduce the log spam in kmsg Move the logs to appropriate log levels to reduce the log spam in kmsg. Change-Id: I1a20a6b9e4c9de8c79517aafed70f0e7eea920fb CRs-Fixed: 2017427 --- htc/htc.c | 6 +++--- htc/htc_services.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htc/htc.c b/htc/htc.c index f3413119b9..af70af46b1 100644 --- a/htc/htc.c +++ b/htc/htc.c @@ -499,7 +499,7 @@ uint8_t htc_get_credit_allocation(HTC_TARGET *target, uint16_t service_id) } if (0 == allocation) { - AR_DEBUG_PRINTF(ATH_DEBUG_INIT, + AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1, ("HTC Service TX : 0x%2.2X : allocation is zero!\n", service_id)); } @@ -521,7 +521,7 @@ QDF_STATUS htc_wait_target(HTC_HANDLE HTCHandle) AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("htc_wait_target - Enter (target:0x%p)\n", HTCHandle)); - AR_DEBUG_PRINTF(ATH_DEBUG_ANY, ("+HWT\n")); + AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1, ("+HWT\n")); do { @@ -621,7 +621,7 @@ QDF_STATUS htc_wait_target(HTC_HANDLE HTCHandle) AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("htc_wait_target - Exit (%d)\n", status)); - AR_DEBUG_PRINTF(ATH_DEBUG_ANY, ("-HWT\n")); + AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1, ("-HWT\n")); return status; } diff --git a/htc/htc_services.c b/htc/htc_services.c index 144e508a04..74bfe86384 100644 --- a/htc/htc_services.c +++ b/htc/htc_services.c @@ -383,14 +383,14 @@ QDF_STATUS htc_connect_service(HTC_HANDLE HTCHandle, QDF_TIMER_TYPE_SW); } - AR_DEBUG_PRINTF(ATH_DEBUG_SETUP, + AR_DEBUG_PRINTF(ATH_DEBUG_INFO, ("HTC Service:0x%4.4X, ULpipe:%d DLpipe:%d id:%d Ready\n", pEndpoint->service_id, pEndpoint->UL_PipeID, pEndpoint->DL_PipeID, pEndpoint->Id)); if (disableCreditFlowCtrl && pEndpoint->TxCreditFlowEnabled) { pEndpoint->TxCreditFlowEnabled = false; - AR_DEBUG_PRINTF(ATH_DEBUG_WARN, + AR_DEBUG_PRINTF(ATH_DEBUG_INFO, ("HTC Service:0x%4.4X ep:%d TX flow control disabled\n", pEndpoint->service_id, assignedEndpoint));