]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/dma/edma.c
Merge branch 'for-linus-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / dma / edma.c
index 1d2be18fec15605fc257ec481677af071c34151f..3879f80a4815cb27ba4329e29510752e34331ba4 100644 (file)
@@ -1628,6 +1628,7 @@ static int edma_alloc_chan_resources(struct dma_chan *chan)
        if (echan->slot[0] < 0) {
                dev_err(dev, "Entry slot allocation failed for channel %u\n",
                        EDMA_CHAN_SLOT(echan->ch_num));
+               ret = echan->slot[0];
                goto err_slot;
        }