diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/mtk_spim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/mtk_spim.c b/drivers/spi/mtk_spim.c index 3a742d160c2..418e586b91d 100644 --- a/drivers/spi/mtk_spim.c +++ b/drivers/spi/mtk_spim.c @@ -242,6 +242,9 @@ static int mtk_spim_hw_init(struct spi_slave *slave) reg_val &= ~SPI_CMD_SAMPLE_SEL; } + /* Disable interrupt enable for pause mode & normal mode */ + reg_val &= ~(SPI_CMD_PAUSE_IE | SPI_CMD_FINISH_IE); + /* disable dma mode */ reg_val &= ~(SPI_CMD_TX_DMA | SPI_CMD_RX_DMA); |