Просмотр исходного кода

qcacld-3.0: Remove redundant spam logs from BMI

BMI is logging every read/write in driver log buffer which
is leading to driver buffer overrun. Remove redundant log
messages from BMI such that driver log buffer can store more
useful control path log messages.

Change-Id: I7e21a9199b42cdbc60c3207ecf9d705e0a151da8
CRs-Fixed: 1031927
Rajeev Kumar 8 лет назад
Родитель
Сommit
769d982071
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      core/bmi/src/bmi_1.c

+ 0 - 9
core/bmi/src/bmi_1.c

@@ -63,9 +63,6 @@ bmi_read_memory(uint32_t address,
 	qdf_mem_set(bmi_rsp_buff, 0, BMI_DATASZ_MAX + sizeof(cid) +
 			sizeof(address) + sizeof(length));
 
-	BMI_DBG("BMI Read: device: 0x%p, address: 0x%x, length: %d",
-						scn, address, length);
-
 	cid = BMI_READ_MEMORY;
 	align = 0;
 	remaining = length;
@@ -102,7 +99,6 @@ bmi_read_memory(uint32_t address,
 		address += rxlen;
 	}
 
-	BMI_DBG("BMI Read Memory: Exit");
 	return QDF_STATUS_SUCCESS;
 }
 
@@ -135,9 +131,6 @@ QDF_STATUS bmi_write_memory(uint32_t address, uint8_t *buffer, uint32_t length,
 	bmi_assert(BMI_COMMAND_FITS(BMI_DATASZ_MAX + header));
 	qdf_mem_set(bmi_cmd_buff, 0, BMI_DATASZ_MAX + header);
 
-	BMI_DBG("BMI Write Memory:device: 0x%p, address: 0x%x, length: %d",
-						scn, address, length);
-
 	cid = BMI_WRITE_MEMORY;
 
 	remaining = length;
@@ -176,8 +169,6 @@ QDF_STATUS bmi_write_memory(uint32_t address, uint8_t *buffer, uint32_t length,
 		address += txlen;
 	}
 
-	BMI_DBG("BMI Write Memory: Exit");
-
 	return QDF_STATUS_SUCCESS;
 }