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>
This commit is contained in:
parent
ef73f886b5
commit
1cfb645c8b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue