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

Commit e5616bf1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: return with error code to avoid tearing down existing recording"...

Merge "hal: return with error code to avoid tearing down existing recording" into av-userspace.lnx.2.0-dev
parents 506a2021 4e0704d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1263,7 +1263,7 @@ int start_input_stream(struct stream_in *in)
    if (get_usecase_from_list(adev, in->usecase) != NULL) {
        ALOGE("%s: use case assigned already in use, stream(%p)usecase(%d: %s)",
            __func__, &in->stream, in->usecase, use_case_table[in->usecase]);
        goto error_config;
        return -EINVAL;
    }

    in->pcm_device_id = platform_get_pcm_device_id(in->usecase, PCM_CAPTURE);