Merge "hal: fix for open input failure while SSR is not enabled."
This commit is contained in:
commit
2703c36053
|
@ -2956,8 +2956,7 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
|
|||
goto err_open;
|
||||
}
|
||||
} else {
|
||||
ret = -EINVAL;
|
||||
goto err_open;
|
||||
ALOGW("%s: surround sound recording is not supported", __func__);
|
||||
}
|
||||
} else if (audio_extn_compr_cap_enabled() &&
|
||||
audio_extn_compr_cap_format_supported(config->format) &&
|
||||
|
|
Loading…
Reference in New Issue