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:
parent
42378e3cd2
commit
8995a86cd6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user