diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-10-05 08:08:41 +0200 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 14:08:35 +0100 |
commit | 9b189fd7584a1d8c68334dd1bc47b363877b314e (patch) | |
tree | b501c938d169bbd948ef434c50aaf74ed2036bb1 /drivers/serial/8250_fourport.c | |
parent | spi: davinci: fix EDMA CC errors at end of transfers (diff) | |
download | linux-9b189fd7584a1d8c68334dd1bc47b363877b314e.tar.xz linux-9b189fd7584a1d8c68334dd1bc47b363877b314e.zip |
spi: davinci: handle DMA completion errors correctly
Do not simply clean the DMA channel on a DMA completion
error. Instead, use wcount and rcount members of davinci_spi
to detecion non-completion of DMA and signal EIO to the
application.
Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/serial/8250_fourport.c')
0 files changed, 0 insertions, 0 deletions