projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/spi/spi-mt65xx.c
b/drivers/spi/spi-mt65xx.c
index c1e96d3b70305393f4e6c63ea1aff3a20075b8bd..5f6315c47920efcb42dc52b5c93c26ce60cb7de4 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);