summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViswanath L <viswanathl@nvidia.com>2014-07-25 13:09:31 +0530
committerGabby Lee <galee@nvidia.com>2014-07-25 02:11:20 -0700
commit40503be4e2656ba2ffc1f4e087087694328fe254 (patch)
tree896c7c854c558d18b1fc9808a6ef2c694c1abe5a
parent58bf3d8941b7592f0141eb148dfe44e2067b6926 (diff)
Provide unconditional DL path for BT voice call Bug 200021925 Change-Id: I9beec87d9d672ddbe946417aed0f393c01a6b29c Signed-off-by: Viswanath L <viswanathl@nvidia.com> Reviewed-on: http://git-master/r/447503 Reviewed-by: Alvin Park <apark@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
-rw-r--r--sound/soc/tegra/tegra30_i2s.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index 16dce5c0aaa7..dafa9a461016 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc/tegra/tegra30_i2s.c
@@ -1571,12 +1571,9 @@ int tegra30_make_bt_voice_call_connections(struct codec_config *codec_info,
/*make ahub connections*/
- /*if this is the only user of i2s tx, make i2s rx connection*/
- if (codec_i2s->playback_ref_count == 1) {
- tegra30_ahub_set_rx_cif_source(
- TEGRA30_AHUB_RXCIF_I2S0_RX0 + codec_info->i2s_id,
- TEGRA30_AHUB_TXCIF_DAM0_TX0 + codec_i2s->dam_ifc);
- }
+ tegra30_ahub_set_rx_cif_source(TEGRA30_AHUB_RXCIF_I2S0_RX0 +
+ codec_info->i2s_id, TEGRA30_AHUB_TXCIF_DAM0_TX0 +
+ codec_i2s->dam_ifc);
tegra30_ahub_set_rx_cif_source(TEGRA30_AHUB_RXCIF_I2S0_RX0 +
bb_info->i2s_id, TEGRA30_AHUB_TXCIF_DAM0_TX0 +
@@ -1723,11 +1720,9 @@ int tegra30_break_bt_voice_call_connections(struct codec_config *codec_info,
tegra30_dam_free_controller(codec_i2s->dam_ifc);
/* Disconnect the ahub connections */
- /* If this is the only user of i2s tx then break ahub
- i2s rx connection */
- if (codec_i2s->playback_ref_count == 1)
- tegra30_ahub_unset_rx_cif_source(
- TEGRA30_AHUB_RXCIF_I2S0_RX0 + codec_info->i2s_id);
+
+ tegra30_ahub_unset_rx_cif_source(TEGRA30_AHUB_RXCIF_I2S0_RX0
+ + codec_info->i2s_id);
tegra30_ahub_unset_rx_cif_source(TEGRA30_AHUB_RXCIF_I2S0_RX0
+ bb_info->i2s_id);