summaryrefslogtreecommitdiffstats
path: root/hal
diff options
context:
space:
mode:
Diffstat (limited to 'hal')
-rw-r--r--hal/audio_hw.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index c99b4491..61159ae7 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -7362,13 +7362,6 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
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*/