Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

omap2_mcspi: Flush posted writes

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>

authored by

Roman Tereshonkov and committed by
Grant Likely
a330ce20 07a389fe

+1
+1
drivers/spi/omap2_mcspi.c
··· 204 204 205 205 cs->chconf0 = val; 206 206 mcspi_write_cs_reg(spi, OMAP2_MCSPI_CHCONF0, val); 207 + mcspi_read_cs_reg(spi, OMAP2_MCSPI_CHCONF0); 207 208 } 208 209 209 210 static void omap2_mcspi_set_dma_req(const struct spi_device *spi,