dma: Reduce error level when DMA channel type does not exist

Caller would need gracefully handle failures of dma_get_device(),
therefore reduce pr_err() to pr_debug() when DMA device is not found.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Vignesh Raghavendra 2020-09-17 16:53:07 +05:30 committed by Stefan Roese
parent 42378e3cd2
commit 8995a86cd6

View File

@ -219,8 +219,8 @@ int dma_get_device(u32 transfer_type, struct udevice **devp)
}
if (!dev) {
pr_err("No DMA device found that supports %x type\n",
transfer_type);
pr_debug("No DMA device found that supports %x type\n",
transfer_type);
return -EPROTONOSUPPORT;
}