spi: mediatek: fix SPI_CMD_PAUSE_IE macro error
authorLeilk Liu <leilk.liu@mediatek.com>
Thu, 27 Aug 2015 13:09:04 +0000 (21:09 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 27 Aug 2015 19:31:00 +0000 (20:31 +0100)
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>
drivers/spi/spi-mt65xx.c

index c1e96d3b70305393f4e6c63ea1aff3a20075b8bd..5f6315c47920efcb42dc52b5c93c26ce60cb7de4 100644 (file)
@@ -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);