mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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
This commit is contained in:
parent
394da5dde7
commit
769d982071
1 changed files with 0 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue