]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: request_dma() returns 0 on success, not channel
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/bfin_dma_5xx.c

index 917b5b8e32c8ad432d99b810e62b977c78f5c747..9c36b2d172d0cc7654eed1a055691cb1a5792ab3 100644 (file)
@@ -135,7 +135,7 @@ int request_dma(unsigned int channel, const char *device_id)
         * descriptor/channel
         */
        pr_debug("request_dma() : END  \n");
-       return channel;
+       return 0;
 }
 EXPORT_SYMBOL(request_dma);