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>
This commit is contained in:
Lothar Waßmann 2013-07-31 16:14:35 +02:00 committed by Vinod Koul
parent d9a6c8f52d
commit 303fd71d3f
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}