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 14:43:40 +0100
commita22d48ebbe93ed2ac9b4aef478724410a18a69b4 (patch)
tree6dfc96016d4de4594dab2fe07e15aeae892e2631
parent268717bdffaaa7ec38c73bcdeab951e8fbbfc355 (diff)
downloaddevice_samsung_p5100-a22d48ebbe93ed2ac9b4aef478724410a18a69b4.zip
device_samsung_p5100-a22d48ebbe93ed2ac9b4aef478724410a18a69b4.tar.gz
device_samsung_p5100-a22d48ebbe93ed2ac9b4aef478724410a18a69b4.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 b1e3179..40f5bac 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);
}