You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
spi: mediatek: fix SPI_CMD_PAUSE_IE macro error
enable pause interrupt should use SPI_CMD_PAUSE_IE MACRO, so fix it. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -158,7 +158,7 @@ static void mtk_spi_config(struct mtk_spi *mdata,
|
||||
#endif
|
||||
|
||||
/* set finish and pause interrupt always enable */
|
||||
reg_val |= SPI_CMD_FINISH_IE | SPI_CMD_PAUSE_EN;
|
||||
reg_val |= SPI_CMD_FINISH_IE | SPI_CMD_PAUSE_IE;
|
||||
|
||||
/* disable dma mode */
|
||||
reg_val &= ~(SPI_CMD_TX_DMA | SPI_CMD_RX_DMA);
|
||||
|
||||
Reference in New Issue
Block a user