summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xaudio/audio_hw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index ca803e5..539c73f 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -2525,13 +2525,11 @@ static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
{
struct espresso_audio_device *adev = (struct espresso_audio_device *)dev;
- pthread_mutex_lock(&adev->lock);
adev->voice_volume = volume;
if (adev->mode == AUDIO_MODE_IN_CALL)
ril_set_call_volume(&adev->ril, SOUND_TYPE_VOICE, volume);
- pthread_mutex_unlock(&adev->lock);
return 0;
}