Răsfoiți Sursa

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
Srinivas Girigowda 8 ani în urmă
părinte
comite
38ee305644
2 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 3 3
      htc/htc.c
  2. 2 2
      htc/htc_services.c

+ 3 - 3
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;
 }
 

+ 2 - 2
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));