Signed-off-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx> --- drivers/dma/apbh_dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index 363878f..d30b8fb 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -555,7 +555,9 @@ int mxs_dma_init(void) int ret, channel; u32 val, reg; - mxs_reset_block(apbh_regs, 0); + ret = mxs_reset_block(apbh_regs, 0); + if (ret) + return ret; /* HACK: Get CPUID and determine APBH version */ val = readl(0x8001c310) >> 16; -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox