summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-01-02 22:42:15 +0100
committerPaul Kocialkowski <contact@paulk.fr>2014-01-03 23:39:35 +0100
commit6307864f3e1bb531de39d94af5a06b594dce079a (patch)
tree1427dd2504b5e8ef30f0b3ceaba2f8dd36b27655
parent58a34aa03efa2aa181fb8ff190dfa1d8b50d46e5 (diff)
downloaddevice_samsung_p5100-6307864f3e1bb531de39d94af5a06b594dce079a.zip
device_samsung_p5100-6307864f3e1bb531de39d94af5a06b594dce079a.tar.gz
device_samsung_p5100-6307864f3e1bb531de39d94af5a06b594dce079a.tar.bz2
audio: Proper headphone route
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 c58a91b..bb3f79f 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -691,7 +691,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) {
ALOGD("%s: set voicecall: headset_input", __func__);
set_bigroute_by_array(adev->mixer, headset_input, 1);
}