projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a389f
)
omap2_mcspi: Flush posted writes
author
Roman Tereshonkov
<roman.tereshonkov@nokia.com>
Mon, 15 Mar 2010 09:06:28 +0000
(09:06 +0000)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 28 Apr 2010 07:25:22 +0000
(
01:25
-0600)
mcspi_write_chconf0 is used to control rx/tx triggering.
Post-write flushing is needed to get the immediate effect.
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/omap2_mcspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/omap2_mcspi.c
b/drivers/spi/omap2_mcspi.c
index d8356af118a8c3ba121dff0eddfd616d9da53192..581bd2169d7b2404364bc75a704b5008c825d062 100644
(file)
--- a/
drivers/spi/omap2_mcspi.c
+++ b/
drivers/spi/omap2_mcspi.c
@@
-204,6
+204,7
@@
static inline void mcspi_write_chconf0(const struct spi_device *spi, u32 val)
cs->chconf0 = val;
mcspi_write_cs_reg(spi, OMAP2_MCSPI_CHCONF0, val);
+ mcspi_read_cs_reg(spi, OMAP2_MCSPI_CHCONF0);
}
static void omap2_mcspi_set_dma_req(const struct spi_device *spi,