hal: Deinit EC reference loopback
EC reference loopback is enabled for FFV recording but not disabled which is causing failure in EC session initialization for second FFV record usecase. Add check to call deinit EC reference loopback for Quad mic as part of disable device to fix the issue. CRs-Fixed: 2379310 Change-Id: Iaa9e21a8499fdbd7870a026456803b8f7c1fd705
This commit is contained in:
parent
9755aca6f9
commit
af4bd62e44
|
@ -1255,7 +1255,8 @@ int disable_snd_device(struct audio_device *adev,
|
|||
disable_asrc_mode(adev);
|
||||
audio_route_apply_and_update_path(adev->audio_route, "hph-lowpower-mode");
|
||||
}
|
||||
if ((snd_device == SND_DEVICE_IN_HANDSET_6MIC) &&
|
||||
if (((snd_device == SND_DEVICE_IN_HANDSET_6MIC) ||
|
||||
(snd_device == SND_DEVICE_IN_HANDSET_QMIC)) &&
|
||||
(audio_extn_ffv_get_stream() == adev->active_input)) {
|
||||
ALOGD("%s: deinit ec ref loopback", __func__);
|
||||
audio_extn_ffv_deinit_ec_ref_loopback(adev, snd_device);
|
||||
|
|
Loading…
Reference in New Issue