summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJavier Ferrer <javi.f.o@gmail.com>2014-03-13 18:46:48 +0100
committerJanson Kang <temasek71@gmail.com>2014-03-14 15:39:54 +0800
commit258bac4c94b3465b35dc12946907e2ddb45f3470 (patch)
tree084afcf5ad9af8b2b0ddd28ddf33ba3ea5498e03 /audio
parent6be233e3ee30d42ed55fe4f00640fb61957ab44b (diff)
downloaddevice_samsung_i9300-258bac4c94b3465b35dc12946907e2ddb45f3470.zip
device_samsung_i9300-258bac4c94b3465b35dc12946907e2ddb45f3470.tar.gz
device_samsung_i9300-258bac4c94b3465b35dc12946907e2ddb45f3470.tar.bz2
i9300: audio: fix battery drain after phone call
Change-Id: I12b038aeb3065eec335966674be14957170eb213
Diffstat (limited to 'audio')
-rwxr-xr-xaudio/audio_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 3b269f9..1928d8e 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -532,6 +532,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);