dma: tegra: implement flags parameters for cyclic transfer
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 9 Jan 2013 09:56:22 +0000 (15:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Jan 2013 04:49:03 +0000 (20:49 -0800)
commit3618766f77d75709caf1cd4a9ab947a34e1ec96f
tree08c4748ab6b11dc42145ac9603432ffba66c4260
parent28b6835f12331a395bd1da8fa9024d9ec4ca5cea
dma: tegra: implement flags parameters for cyclic transfer

commit b9bb37f5486ba05d2b557dbf1aeb754fef618985 upstream.

The flag parameter is added in the cyclic transfer request.
Use the flag option of:
- DMA_PREP_INTERRUPT for enabling interrupt.
- DMA_CTRL_ACK for deciding whether ack is requred or not for
  descriptor.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/tegra20-apb-dma.c