diff options
author | Nikesh Oswal <noswal@nvidia.com> | 2011-11-08 14:02:09 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:50:08 -0800 |
commit | dd717632cb06bfef0ece42a7e45e8c5712943261 (patch) | |
tree | ae00a5ec53642d5a2d71cddc3317a90af28200ea /sound/soc/tegra/tegra30_i2s.h | |
parent | 68b8a632b617bba057b404b07d5e61bf4a0f6ade (diff) |
ASoC: tegra: configure default playback path for t30
with these changes from the machine driver we can configure
the default playback path to go through the dam or bypass
the dam
Bug: 862023
Change-Id: I0c51dd167c6822c4583240ece14211a82734ee2e
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/62891
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: R7e756015a8436841c00295145ec45a23ec3ba8f7
Diffstat (limited to 'sound/soc/tegra/tegra30_i2s.h')
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra30_i2s.h b/sound/soc/tegra/tegra30_i2s.h index b7835277a037..f5fe090f0100 100644 --- a/sound/soc/tegra/tegra30_i2s.h +++ b/sound/soc/tegra/tegra30_i2s.h @@ -228,6 +228,9 @@ #define TEGRA30_I2S_LCOEF_COEF_MASK_US 0xffff #define TEGRA30_I2S_LCOEF_COEF_MASK (TEGRA30_I2S_LCOEF_COEF_MASK_US << TEGRA30_I2S_LCOEF_COEF_SHIFT) +/* Number of i2s controllers*/ +#define TEGRA30_NR_I2S_IFC 5 + struct tegra30_i2s { int id; struct clk *clk_i2s; @@ -239,6 +242,8 @@ struct tegra30_i2s { struct dentry *debug; u32 reg_ctrl; u32 reg_ch_ctrl; + int playback_ref_count; + bool is_dam_used; }; #endif |