summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2013-07-31 16:14:35 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-19 14:45:05 +0530
commit303fd71d3fdf93c3d4fa7f0d72f93c21d9ced560 (patch)
tree915d8f98849beb60062a75aea9fd2b2629ee94d0 /drivers/dma
parentd9a6c8f52d1039333bef6234126485409e8f7501 (diff)
downloadop-kernel-dev-303fd71d3fdf93c3d4fa7f0d72f93c21d9ced560.zip
op-kernel-dev-303fd71d3fdf93c3d4fa7f0d72f93c21d9ced560.tar.gz
dma: of: make error message more meaningful by adding the node name
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/of-dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c
index 75334bd..0b88dd3 100644
--- a/drivers/dma/of-dma.c
+++ b/drivers/dma/of-dma.c
@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
count = of_property_count_strings(np, "dma-names");
if (count < 0) {
- pr_err("%s: dma-names property missing or empty\n", __func__);
+ pr_err("%s: dma-names property of node '%s' missing or empty\n",
+ __func__, np->full_name);
return NULL;
}
OpenPOWER on IntegriCloud