diff options
author | Manjula Gupta <magupta@nvidia.com> | 2010-12-28 15:09:10 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2011-01-04 02:32:44 -0800 |
commit | 1e5e6f79dd4b73dea3ccd11ed3dc1a681944c076 (patch) | |
tree | 73da454aa8129bd395fe3e057c5bc912296a8916 /sound/soc/tegra/tegra_soc.h | |
parent | d1502e140f4e96b34fc6c713004e681ce4e0942b (diff) |
[tegra ALSA]: Fix for kernel panic in dma_isr
Fix to handle overrun and underrun cases and gracefully exit
dma buffering threads during overrun and underrun conditions.
For bug: 774397
Change-Id: Ie8e320981b5f01bf5283f1b1048d7859088a3b82
Reviewed-on: http://git-master/r/14456
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_soc.h')
-rw-r--r-- | sound/soc/tegra/tegra_soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_soc.h b/sound/soc/tegra/tegra_soc.h index e570bcb39172..1c8e6cef4fa4 100644 --- a/sound/soc/tegra/tegra_soc.h +++ b/sound/soc/tegra/tegra_soc.h @@ -92,6 +92,7 @@ struct tegra_runtime_data { volatile int state; int period_index; int i2s_shutdown; + int dma_state; struct tegra_dma_channel *dma_chan; struct clk *i2s_clk; struct clk *dap_mclk; |