projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42378e3
)
dma: Reduce error level when DMA channel type does not exist
author
Vignesh Raghavendra
<vigneshr@ti.com>
Thu, 17 Sep 2020 11:23:07 +0000
(16:53 +0530)
committer
Stefan Roese
<sr@denx.de>
Thu, 8 Oct 2020 07:04:41 +0000
(09:04 +0200)
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>
drivers/dma/dma-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dma-uclass.c
b/drivers/dma/dma-uclass.c
index 8cbb364042703abf3edcf8a4870bed1fb05f5c21..50403148d6da2a00ccf9bd7fc445b76c4d792172 100644
(file)
--- 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;
}