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 /drivers/media/video | |
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 'drivers/media/video')
-rw-r--r-- | drivers/media/video/tegra/tegra_dtv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tegra/tegra_dtv.c b/drivers/media/video/tegra/tegra_dtv.c index 9001e568b7c4..9d5100c1af62 100644 --- a/drivers/media/video/tegra/tegra_dtv.c +++ b/drivers/media/video/tegra/tegra_dtv.c @@ -761,6 +761,7 @@ static void setup_dma_rx_request(struct tegra_dma_req *req, req->source_addr = dtv_ctx->phys + DTV_RX_FIFO; req->source_wrap = 4; req->source_bus_width = 32; + req->fixed_burst_size = 1; req->dest_wrap = 0; req->dest_bus_width = 32; |