mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-20 22:52:00 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue