dmaengine: qcom_bam_dma: Add device tree binding
[deliverable/linux.git] / 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);
 
This page took 0.02397 seconds and 5 git commands to generate.