OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce0acf
)
spi: mediatek: fix SPI_CMD_PAUSE_IE macro error
author
Leilk Liu
<leilk.liu@mediatek.com>
Thu, 27 Aug 2015 13:09:04 +0000
(21:09 +0800)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-mt65xx.c
b/drivers/spi/spi-mt65xx.c
index
c1e96d3
..
5f6315c
100644
(file)
--- a/
drivers/spi/spi-mt65xx.c
+++ b/
drivers/spi/spi-mt65xx.c
@@
-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);