Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit daf9c546 authored by Mingming Yin's avatar Mingming Yin Committed by Ramjee Singh
Browse files

hal: fix for open input failure while SSR is not enabled.

- Do not return failure if SSR is not enabled.

Change-Id: I49d1e47b700165f8d9fd073792eeef57b40a5cb4
parent 501da409
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2557,8 +2557,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) &&