]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
async_tx: fix multiple dependency submission
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Apr 2008 03:17:25 +0000 (20:17 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 17 Apr 2008 20:25:05 +0000 (13:25 -0700)
commit19242d7233df7d658405d4b7ee1758d21414cfaa
tree4bffa2700c30fdb454dfa150115a0607c6cf3d2a
parent1c62979ed29a8e2bf9fbe1db101c81a0089676f8
async_tx: fix multiple dependency submission

Shrink struct dma_async_tx_descriptor and introduce
async_tx_channel_switch to properly inject a channel switch interrupt in
the descriptor stream.  This simplifies the locking model as drivers no
longer need to handle dma_async_tx_descriptor.lock.

Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/async_tx.c
drivers/dma/dmaengine.c
drivers/dma/iop-adma.c
include/linux/dmaengine.h