From: Vignesh Raghavendra Date: Thu, 17 Sep 2020 11:23:07 +0000 (+0530) Subject: dma: Reduce error level when DMA channel type does not exist X-Git-Tag: v2021.10~491^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8995a86cd6fa6e189c03a638da4a8ef9755d3738;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Stefan Roese --- diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c index 8cbb364..5040314 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; }