summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_soc.h
diff options
context:
space:
mode:
authorManjula Gupta <magupta@nvidia.com>2010-12-28 14:20:39 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2011-01-03 05:57:56 -0800
commit3d4d46642395ff620b87cf16cb1cffc8dc6e7d8e (patch)
tree66919debd83647345982e2fafbdffc2e93945518 /sound/soc/tegra/tegra_soc.h
parentf5a068ae381c56699fa8fa3002d10d907a5f510c (diff)
[tegra ALSA] Save/Restore I2S Registers on suspend/resume.
Added support to save and restore I2S registers on suspend/resume. For Bug: 774397 Change-Id: I2a0caf93f422811573ec2acd193de3804f8860a0 Reviewed-on: http://git-master/r/14454 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_soc.h')
-rw-r--r--sound/soc/tegra/tegra_soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_soc.h b/sound/soc/tegra/tegra_soc.h
index 5cb2a2ccf851..e570bcb39172 100644
--- a/sound/soc/tegra/tegra_soc.h
+++ b/sound/soc/tegra/tegra_soc.h
@@ -91,10 +91,12 @@ struct tegra_runtime_data {
struct tegra_dma_req dma_req1, dma_req2;
volatile int state;
int period_index;
+ int i2s_shutdown;
struct tegra_dma_channel *dma_chan;
struct clk *i2s_clk;
struct clk *dap_mclk;
struct clk *audio_sync_clk;
+ struct i2s_runtime_data i2s_regs;
};
#endif