ASoC: Tegra: use controllers bit_clk from platoform data
Ravindra Lokhande [Mon, 29 Apr 2013 13:47:59 +0000 (18:47 +0530)]
If we use bb bit clock during voice call then BT voice call is not
working. Use controller's bit_clock provided in its platfrom data.

Change-Id: I9e1cefd5ad6a43aabbcc5691502b02a0e4051127
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/223882
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

sound/soc/tegra/tegra30_i2s.c

index 4e6adb2..531ff4a 100644 (file)
@@ -1119,9 +1119,7 @@ int t14x_make_voice_call_connections(struct codec_config *codec_info,
        configure_baseband_i2s(codec_i2s, codec_info->is_i2smaster,
                codec_info->i2s_mode, codec_info->channels,
                codec_info->rate, codec_info->bitsize,
-               /* need to use bbc1 bit_clk here as we don't have separate
-                * controller for bbc1 audio */
-                bb_info->bit_clk);
+                codec_info->bit_clk);
 
        if (uses_voice_codec) {
                /* The following two lines are a hack */