summaryrefslogtreecommitdiffstats
path: root/drivers/spi/dw_spi.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-10-05 11:38:41 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:35 +0530
commit9b189fd7584a1d8c68334dd1bc47b363877b314e (patch)
treeb501c938d169bbd948ef434c50aaf74ed2036bb1 /drivers/spi/dw_spi.c
parent523c37e7006522e778a1fd0aea2746ceb788572f (diff)
downloadop-kernel-dev-9b189fd7584a1d8c68334dd1bc47b363877b314e.zip
op-kernel-dev-9b189fd7584a1d8c68334dd1bc47b363877b314e.tar.gz
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/spi/dw_spi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud