summaryrefslogtreecommitdiffstats
path: root/drivers/vme/bridges
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2015-05-28 14:07:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-13 02:29:37 +0200
commit1cfb645c8b7c82bbce4d77240754fcf5559cc82c (patch)
treedcb94fcfe36285e0ac8cac42de91079ca8d7e34b /drivers/vme/bridges
parentvme: export vme_check_window() (diff)
downloadlinux-1cfb645c8b7c82bbce4d77240754fcf5559cc82c.tar.xz
linux-1cfb645c8b7c82bbce4d77240754fcf5559cc82c.zip
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/vme/bridges')
-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 e9bd65723134..f692efcf683f 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: