commit | 80bbc06e98d29e7be871cdfcbe41dc8fcf672e2d | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Wed Mar 26 07:18:48 2014 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Mar 26 07:18:48 2014 -0700 |
tree | 5dfe9483190d16e99b6e20695f786ff0100ec53f | |
parent | b0c669fed31c0b590c49e09c224fd80174c5f123 [diff] | |
parent | e6fff40e4e2674e8fc8305d68514ff74004c4293 [diff] |
Merge "hal: Clear VI feedback cal after VI capture path is started"
diff --git a/hal/audio_extn/spkr_protection.c b/hal/audio_extn/spkr_protection.c index 5ec7eba..6c0eec0 100644 --- a/hal/audio_extn/spkr_protection.c +++ b/hal/audio_extn/spkr_protection.c
@@ -633,7 +633,11 @@ ret = -EINVAL; } } + exit: + /* Clear VI feedback cal and replace with handset MIC */ + platform_send_audio_calibration(adev->platform, + SND_DEVICE_IN_HANDSET_MIC); if (ret) { if (handle.pcm_tx) pcm_close(handle.pcm_tx);