diff options
author | Ilkka Koskinen <ilkka.koskinen@nokia.com> | 2010-10-19 17:07:31 +0300 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-20 10:43:24 -0600 |
commit | 2764c500be0c1f057349ee6c81557239de060f87 (patch) | |
tree | c2d377ef63c95c824ba9c3415c3cbecdeb4cbe57 /arch/powerpc/kernel/time.c | |
parent | e1993ed6420afd4421336d75e73641f75da87a7f (diff) |
spi/omap2_mcspi: Verify TX reg is empty after TX only xfer with DMA
In case of TX only with DMA, the driver assumes that the data
has been transferred once DMA callback in invoked. However,
SPI's shift register may still contain data. Thus, the driver
is supposed to verify that the register is empty and the end of
the SPI transfer has been reached.
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Tested-by: Tuomas Katila <ext-tuomas.2.katila@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/kernel/time.c')
0 files changed, 0 insertions, 0 deletions