Merge tag 'dmaengine-5.4-rc1' of git://git.infradead.org/users/vkoul/slave-dma
[sfrench/cifs-2.6.git] / drivers / dma / bcm2835-dma.c
index 67100e4e1083b49f07285d7ca2d1ea48f6a8b19f..e4c593f48575c22b6a22c1d14cb05aa03fe675c8 100644 (file)
@@ -896,8 +896,10 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
                pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
 
        rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
-       if (rc)
+       if (rc) {
+               dev_err(&pdev->dev, "Unable to set DMA mask\n");
                return rc;
+       }
 
        od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL);
        if (!od)