asoc: tegra: close DAM links after voice call
Vijay Mali [Tue, 1 Apr 2014 14:26:24 +0000 (19:26 +0530)]
Bug 1489970

Change-Id: I8c2e13b5671cfa9f8d3c1237ae81c2195fea613f
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/391712
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>
Tested-by: Rui Zhuo <rzhuo@nvidia.com>

sound/soc/tegra/tegra30_i2s.c

index 1e7bf00..16dce5c 100644 (file)
@@ -2079,6 +2079,9 @@ int tegra30_break_voice_call_connections(struct codec_config *codec_info,
                tegra30_ahub_unset_rx_cif_source(TEGRA30_AHUB_RXCIF_I2S0_RX0 +
                                bb_info->i2s_id);
 
+               tegra30_ahub_unset_rx_cif_source(TEGRA30_AHUB_RXCIF_DAM0_RX0 +
+                               (bb_i2s->dam_ifc*2));
+
                tegra30_ahub_unset_rx_cif_source(TEGRA30_AHUB_RXCIF_DAM0_RX1 +
                                (bb_i2s->dam_ifc*2));