summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJavier Ferrer <javi.f.o@gmail.com>2014-03-14 00:02:10 +0530
committertilaksidduram <tilaksidduram@gmail.com>2014-03-24 19:24:03 +0530
commit3594031aef50e7e4bfd8a34c9fb39ed4bf5a2d6f (patch)
treec69670c38fcb8b77234e5341e1d0af59a1ed7ca1 /audio
parentd70bf47d8a3fbac42a70832bf920af23387b56c7 (diff)
downloaddevice_samsung_n7100-3594031aef50e7e4bfd8a34c9fb39ed4bf5a2d6f.zip
device_samsung_n7100-3594031aef50e7e4bfd8a34c9fb39ed4bf5a2d6f.tar.gz
device_samsung_n7100-3594031aef50e7e4bfd8a34c9fb39ed4bf5a2d6f.tar.bz2
n7100: fix drain after call
Change-Id: I60ebd34d5af71a63b0e44a82068a7d5a81f0bdca
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 55044f0..762db0e 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -596,6 +596,7 @@ static void select_mode(struct m0_audio_device *adev)
adev->in_call, adev->mode);
if (adev->in_call) {
adev->in_call = 0;
+ ril_set_call_clock_sync(&adev->ril, SOUND_CLOCK_STOP);
end_call(adev);
force_all_standby(adev);
select_output_device(adev);