diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2012-08-27 16:07:39 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-09-04 17:10:33 -0700 |
commit | 49553e9c6dd0ef9dac304adc69c676b0b000d31f (patch) | |
tree | 988009ee9e4a159261fd655b562ebb9524d4deef /sound/soc/tegra/tegra_pcm.h | |
parent | bad016421fc94642de2ad70a78d2917549d81541 (diff) |
ASoC: Tegra: Add ALSA ctl to set DMA address
Add support for setting of DMA address through alsa control for AVP
rendering. This is required to directly do DMA from IRAM to I2S.
Bug 1024403
Change-Id: I6b79ae6e9a562160a19d238b817e1a8b407ac208
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/127436
(cherry picked from commit f270f46bef98a56f44432e608041adb617c22559)
Signed-off-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Change-Id: I195aae9043f967273283579f44d5367fe73d542f
Reviewed-on: http://git-master/r/129159
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_pcm.h')
-rw-r--r-- | sound/soc/tegra/tegra_pcm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_pcm.h b/sound/soc/tegra/tegra_pcm.h index b63de32023e8..5a9531b9fbf7 100644 --- a/sound/soc/tegra/tegra_pcm.h +++ b/sound/soc/tegra/tegra_pcm.h @@ -54,6 +54,7 @@ struct tegra_runtime_data { struct tegra_dma_channel *dma_chan; int dma_req_count; int disable_intr; + unsigned int avp_dma_addr; }; int tegra_pcm_trigger(struct snd_pcm_substream *substream, int cmd); |