]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dw_dmac: fix copy/paste bug in tasklet
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 3 Oct 2008 22:23:46 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 Oct 2008 01:22:18 +0000 (18:22 -0700)
commit7fe7b2f4ec14d6517078c5bc32b04301b468041c
treeded474f209ad27a57bef37c7064985b5a422c1f9
parent09b05f5ee04cd2e2af3384d50646f53c76712f10
dw_dmac: fix copy/paste bug in tasklet

The tasklet checks RAW.BLOCK twice, and does not check RAW.XFER. This is
obviously wrong, and could theoretically cause the driver to hang.

Reported-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/dma/dw_dmac.c