dmaengine: Fix a bug about BUG_ON() on DMA engine capability DMA_INTERRUPT.
authorZhang Wei <wei.zhang@freescale.com>
Fri, 14 Mar 2008 00:45:28 +0000 (17:45 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 13 Mar 2008 17:57:07 +0000 (10:57 -0700)
commit9b941c6660bae673e27c207f1d20d98ef8ecd450
treee34aa803ae33e745e0c013dc35ebafb8d9bcca55
parent56822843ff99c88c778a614851328fcbb1503d10
dmaengine: Fix a bug about BUG_ON() on DMA engine capability DMA_INTERRUPT.

The device->device_prep_dma_interrupt function is used by
DMA_INTERRUPT capability, not DMA_ZERO_SUM.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmaengine.c