dma: tegra: implement flags parameters for cyclic transfer
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 9 Jan 2013 09:56:22 +0000 (15:26 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 9 Jan 2013 14:13:32 +0000 (06:13 -0800)
commitb9bb37f5486ba05d2b557dbf1aeb754fef618985
tree25abbffc56fbe2ebe2fc843f97d53f06aa08e54d
parentbef2a8d3f6cb91bc8743bdd63d3eb6a37bf27b12
dma: tegra: implement flags parameters for cyclic transfer

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>
CC: <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c