Merge "hal: Allow hal to open Telephony RX as attached device" into audio-hal.lnx.5.0.c5
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 5d02f99..dca98ad 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -7364,13 +7364,6 @@
     in->bit_width = 16;
     in->af_period_multiplier = 1;
 
-    /* Update config params with the requested sample rate and channels */
-    if ((in->device == AUDIO_DEVICE_IN_TELEPHONY_RX) &&
-          (adev->mode != AUDIO_MODE_IN_CALL)) {
-        ret = -EINVAL;
-        goto err_open;
-    }
-
     if (is_usb_dev && may_use_hifi_record) {
         /* HiFi record selects an appropriate format, channel, rate combo
            depending on sink capabilities*/