mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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,7 +219,7 @@ int dma_get_device(u32 transfer_type, struct udevice **devp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!dev) {
|
if (!dev) {
|
||||||
pr_err("No DMA device found that supports %x type\n",
|
pr_debug("No DMA device found that supports %x type\n",
|
||||||
transfer_type);
|
transfer_type);
|
||||||
return -EPROTONOSUPPORT;
|
return -EPROTONOSUPPORT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user