summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2015-05-28 15:07:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-12 17:29:37 -0700
commit1cfb645c8b7c82bbce4d77240754fcf5559cc82c (patch)
treedcb94fcfe36285e0ac8cac42de91079ca8d7e34b /drivers
parentef73f886b53548d83d71a439f51a0c13ea6c1dae (diff)
downloadop-kernel-dev-1cfb645c8b7c82bbce4d77240754fcf5559cc82c.zip
op-kernel-dev-1cfb645c8b7c82bbce4d77240754fcf5559cc82c.tar.gz
vme: ca91cx42: return error code on DMA error
Signed-off-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Cc: Igor Alekseev <igor.alekseev@itep.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vme/bridges/vme_ca91cx42.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vme/bridges/vme_ca91cx42.c b/drivers/vme/bridges/vme_ca91cx42.c
index e9bd657..f692efc 100644
--- a/drivers/vme/bridges/vme_ca91cx42.c
+++ b/drivers/vme/bridges/vme_ca91cx42.c
@@ -1269,6 +1269,7 @@ static int ca91cx42_dma_list_exec(struct vme_dma_list *list)
dev_err(dev, "ca91c042: DMA Error. DGCS=%08X\n", val);
val = ioread32(bridge->base + DCTL);
+ retval = -EIO;
}
exit:
OpenPOWER on IntegriCloud