]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: omap_uwire: wait for tx complete before starting the next one
authorImre Deak <imre.deak@nokia.com>
Fri, 9 Jun 2006 15:17:50 +0000 (18:17 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 12 Jun 2006 17:11:23 +0000 (20:11 +0300)
commit4d03fa2c0f954cd0425101b183003f606c6dd4b1
treeddfb97f786c995878738d38ca59f9eb3546da3f8
parent0976dc5e2d1501c31a2a33009617516b04b6da6a
ARM: OMAP: omap_uwire: wait for tx complete before starting the next one

The TDR register shouldn't be written when the CSRB flag is set. The fix
solves the problem where one SPI transfer includes multiple 8 or 16 bit
tx elements and the current transfer can be corrupted by accessing the
TDR too early.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
drivers/spi/omap_uwire.c