Commit dc81d48f authored by Federico Vaga's avatar Federico Vaga

sw:drv: print when we fail to use 64bit DMA

Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent d64882a1
......@@ -780,6 +780,8 @@ static int gn412x_dma_engine_init(struct gn412x_dma_device *gn412x_dma,
dma->dev = parent;
if (dma_set_mask(dma->dev, DMA_BIT_MASK(64))) {
dev_warn(dma->dev, "64-bit DMA addressing not available\n");
/* Check if hardware supports 32-bit DMA */
if (dma_set_mask(dma->dev, DMA_BIT_MASK(32))) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment