Merge "hal: spk_prot: fix initial calibration fail with usecase retry"
diff --git a/hal/audio_extn/spkr_protection.c b/hal/audio_extn/spkr_protection.c
index 312be97..669842e 100644
--- a/hal/audio_extn/spkr_protection.c
+++ b/hal/audio_extn/spkr_protection.c
@@ -476,8 +476,6 @@
handle.pcm_tx = NULL;
/* Clear TX calibration to handset mic */
if (disable_tx) {
- uc_info_tx->id = USECASE_AUDIO_RECORD;
- uc_info_tx->type = PCM_CAPTURE;
uc_info_tx->in_snd_device = SND_DEVICE_IN_HANDSET_MIC;
uc_info_tx->out_snd_device = SND_DEVICE_NONE;
platform_send_audio_calibration(adev->platform,
@@ -871,8 +869,6 @@
exit:
/* Clear VI feedback cal and replace with handset MIC */
if (disable_tx) {
- uc_info_tx->id = USECASE_AUDIO_RECORD;
- uc_info_tx->type = PCM_CAPTURE;
uc_info_tx->in_snd_device = SND_DEVICE_IN_HANDSET_MIC;
uc_info_tx->out_snd_device = SND_DEVICE_NONE;
platform_send_audio_calibration(adev->platform,