diff options
author | Adam Jiang <chaoj@nvidia.com> | 2012-01-14 01:16:02 +0900 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-20 13:56:28 -0800 |
commit | eef4003302ce0dea6ed93480c42abf5b45a3e2e0 (patch) | |
tree | 79fc32d7a311f3c0be7324845b4dbcaf8217d3e8 /arch/arm/mach-tegra/include/mach | |
parent | aab7c14c8814cd1a8f56ff61cd1eb8811e691073 (diff) |
DTV: dma: fixed dma burst size issue DTV xmit
Since dtv interface was designed based on SPI bus, it shares the same
dma configuration with SPI bus. However, it is not proper because DTV
interface has to transmit data in 4 words long constantly. The patch
added an option in tegra_dma_req to set burst size to be fixed 4 words.
fixed Bug 910227
Change-Id: I1436f0c8d108dd39edc57ae4c9cb750d9574b62c
Reviewed-on: http://git-master/r/75509
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76461
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dma.h b/arch/arm/mach-tegra/include/mach/dma.h index 492138759eca..57770ecd34e1 100644 --- a/arch/arm/mach-tegra/include/mach/dma.h +++ b/arch/arm/mach-tegra/include/mach/dma.h @@ -135,6 +135,8 @@ struct tegra_dma_req { unsigned long req_sel; unsigned int size; + int fixed_burst_size; /* only for dtv */ + /* Updated by the DMA driver on the conpletion of the request. */ int bytes_transferred; int status; |