]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dma: of: make error message more meaningful by adding the node name
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 31 Jul 2013 14:14:35 +0000 (16:14 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 19 Aug 2013 09:15:05 +0000 (14:45 +0530)
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/of-dma.c

index 75334bdd2c56bc29a18b24466d1114d7928cad58..0b88dd3d05f4880f41561f455f79c5eb9ca0a885 100644 (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;
        }