summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-03-07 14:43:40 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-03-07 15:14:10 +0100
commitb4bb19d0ce2f7ceda5eea827d1e409e74513204f (patch)
tree1039576b89153f304af5cd923707721a3bcf74ab
parent109747760816463c3196bc09ef2a879b9b10a2bb (diff)
downloaddevice_samsung_p3100-b4bb19d0ce2f7ceda5eea827d1e409e74513204f.zip
device_samsung_p3100-b4bb19d0ce2f7ceda5eea827d1e409e74513204f.tar.gz
device_samsung_p3100-b4bb19d0ce2f7ceda5eea827d1e409e74513204f.tar.bz2
audio: Don't use headset mic with headphones
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xaudio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 79027e4..5acad25 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -663,7 +663,7 @@ static void select_output_device(struct espresso_audio_device *adev)
set_bigroute_by_array(adev->mixer, default_input_disable, 1);
}
- if (headset_on || headphone_on) {
+ if (headset_on) {
LOGD("%s: set voicecall: headset_input", __func__);
set_bigroute_by_array(adev->mixer, headset_input, 1);
}