soc: swr-mstr-ctrl: remove FIFO_Flush for overflow
FIFO_Flush should only be for SWRM_INTERRUPT_STATUS_CMD_ERROR. For other usecase, it should not be flushed otherwise it would cause register write mismatch and cause some sideeffect. Change-Id: I6d40a30129dfdf48993125fb57042ab97a13a631 Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

父節點
3a6ef472dd
當前提交
018369d65f
@@ -929,7 +929,6 @@ retry_read:
|
||||
/* wait 500 us before retry on fifo read failure */
|
||||
usleep_range(500, 505);
|
||||
if (retry_attempt == (MAX_FIFO_RD_FAIL_RETRY - 1)) {
|
||||
swr_master_write(swrm, SWRM_CMD_FIFO_CMD, 0x1);
|
||||
swr_master_write(swrm,
|
||||
SWRM_CMD_FIFO_RD_CMD(swrm->ee_val),
|
||||
val);
|
||||
@@ -2204,7 +2203,6 @@ handle_irq:
|
||||
dev_err(swrm->dev,
|
||||
"%s: SWR write FIFO overflow fifo status %x\n",
|
||||
__func__, value);
|
||||
swr_master_write(swrm, SWRM_CMD_FIFO_CMD, 0x1);
|
||||
break;
|
||||
case SWRM_INTERRUPT_STATUS_CMD_ERROR:
|
||||
value = swr_master_read(swrm, SWRM_CMD_FIFO_STATUS(swrm->ee_val));
|
||||
|
Reference in New Issue
Block a user