diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/apbh_dma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index 363878fb22..d30b8fb193 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; |