Merge "soc: swr-mstr: Add delay between fifo writes to avoid overflow/underflow"
Tento commit je obsažen v:

odevzdal
Gerrit - the friendly Code Review server

revize
5bdbc17139
@@ -596,10 +596,10 @@ static int swr_master_bulk_write(struct swr_mstr_ctrl *swrm, u32 *reg_addr,
|
||||
for (i = 0; i < length; i++) {
|
||||
/* wait for FIFO WR command to complete to avoid overflow */
|
||||
/*
|
||||
* Reduce sleep from 100us to 10us to meet KPIs
|
||||
* Reduce sleep from 100us to 50us to meet KPIs
|
||||
* This still meets the hardware spec
|
||||
*/
|
||||
usleep_range(10, 12);
|
||||
usleep_range(50, 55);
|
||||
swr_master_write(swrm, reg_addr[i], val[i]);
|
||||
}
|
||||
mutex_unlock(&swrm->iolock);
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele