We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea45025 commit 1832fbaCopy full SHA for 1832fba
drivers/gpu/drm/xlnx/zynqmp_dpsub.c
@@ -227,7 +227,9 @@ static int zynqmp_dpsub_probe(struct platform_device *pdev)
227
dpsub->dev = &pdev->dev;
228
platform_set_drvdata(pdev, dpsub);
229
230
- dma_set_mask(dpsub->dev, DMA_BIT_MASK(ZYNQMP_DISP_MAX_DMA_BIT));
+ ret = dma_set_mask(dpsub->dev, DMA_BIT_MASK(ZYNQMP_DISP_MAX_DMA_BIT));
231
+ if (ret)
232
+ return ret;
233
234
/* Try the reserved memory. Proceed if there's none. */
235
of_reserved_mem_device_init(&pdev->dev);
0 commit comments