diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-09-17 16:53:07 +0530 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-10-08 09:04:41 +0200 |
commit | 8995a86cd6fa6e189c03a638da4a8ef9755d3738 (patch) | |
tree | 320265925c36c3de7ae157bafb792fcd2ef766d2 | |
parent | 42378e3cd2432e0353cdcc1789039293e4b46252 (diff) | |
download | u-boot-8995a86cd6fa6e189c03a638da4a8ef9755d3738.tar.gz |
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>
-rw-r--r-- | drivers/dma/dma-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c index 8cbb364042..50403148d6 100644 --- a/drivers/dma/dma-uclass.c +++ b/drivers/dma/dma-uclass.c @@ -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; } |