diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-04-19 15:41:55 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-04-19 21:00:01 -0700 |
commit | e3a7fc444a93dfcb045c98db77975dfcd783a63f (patch) | |
tree | 3720b3820830afeb5230d510c61d4192fc63eefb /sound | |
parent | 1c20ecddb277b3d2798c558b37da07ef8684afd1 (diff) |
ASOC: tegra: Fix BT_SCO capture device masking
bug 816348
Change-Id: I6551a867fdfcddc6689d6fcc1daaee11d8879e7f
Reviewed-on: http://git-master/r/28182
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_soc_controls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_soc_controls.c b/sound/soc/tegra/tegra_soc_controls.c index bd948509df62..138fac279f47 100644 --- a/sound/soc/tegra/tegra_soc_controls.c +++ b/sound/soc/tegra/tegra_soc_controls.c @@ -28,10 +28,10 @@ static void tegra_audio_route(struct tegra_audio_data* audio_data, int codec_con = audio_data->codec_con; int is_bt_sco_mode = (play_device_new & TEGRA_AUDIO_DEVICE_OUT_BT_SCO) || - (capture_device_new & TEGRA_AUDIO_DEVICE_OUT_BT_SCO); + (capture_device_new & TEGRA_AUDIO_DEVICE_IN_BT_SCO); int was_bt_sco_mode = (audio_data->play_device & TEGRA_AUDIO_DEVICE_OUT_BT_SCO) || - (audio_data->capture_device & TEGRA_AUDIO_DEVICE_OUT_BT_SCO); + (audio_data->capture_device & TEGRA_AUDIO_DEVICE_IN_BT_SCO); if (play_device_new != audio_data->play_device) { codec_con &= ~(TEGRA_HEADPHONE | TEGRA_LINEOUT | |