Merge "soc: swr-mstr-ctrl: Fix swr overflow for wsa"

This commit is contained in:
qctecmdr 2022-07-08 04:22:28 -07:00 committed by Gerrit - the friendly Code Review server
commit 8247a993b5

View File

@ -974,6 +974,7 @@ static int swrm_cmd_fifo_wr_cmd(struct swr_mstr_ctrl *swrm, u8 cmd_data,
* Check for outstanding cmd wrt. write fifo depth to avoid
* overflow.
*/
usleep_range(500, 550);
swrm_wait_for_fifo_avail(swrm, SWRM_WR_CHECK_AVAIL);
swr_master_write(swrm, SWRM_CMD_FIFO_WR_CMD, val);
/*