]> Pileus Git - ~andy/linux/commitdiff
dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 11 Sep 2012 15:21:44 +0000 (17:21 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 14 Sep 2012 02:56:40 +0000 (08:26 +0530)
s/dma_memcpy/slave_sg/ and it is sg length that we are
talking about.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Stable <stable@vger.kernel.org> [2.6.31+]
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/at_hdmac.c

index 3934fcc4e00b1b02778bb02866fb86073f9b1f0a..6c09e186e960ce9800c2e143f0eda5d9b1c7a4b8 100644 (file)
@@ -661,7 +661,7 @@ atc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
                        flags);
 
        if (unlikely(!atslave || !sg_len)) {
-               dev_dbg(chan2dev(chan), "prep_dma_memcpy: length is zero!\n");
+               dev_dbg(chan2dev(chan), "prep_slave_sg: sg length is zero!\n");
                return NULL;
        }