]> Pileus Git - ~andy/linux/blobdiff - drivers/dma/cppi41.c
don't bother with propagate_mnt() unless the target is shared
[~andy/linux] / drivers / dma / cppi41.c
index c29dacff66fa951f136657536a628b6743ccda30..c18aebf7d5aa9a23199b556bc9b54c8b3237253d 100644 (file)
@@ -972,8 +972,10 @@ static int cppi41_dma_probe(struct platform_device *pdev)
                goto err_chans;
 
        irq = irq_of_parse_and_map(dev->of_node, 0);
-       if (!irq)
+       if (!irq) {
+               ret = -EINVAL;
                goto err_irq;
+       }
 
        cppi_writel(USBSS_IRQ_PD_COMP, cdd->usbss_mem + USBSS_IRQ_ENABLER);