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

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

Merge "audio: hal: Avoid backend configuration for afe-proxy device"

parents 6e8ead5f 2e4dcb1a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5503,7 +5503,8 @@ static bool platform_check_codec_backend_cfg(struct audio_device* adev,
    /*BT devices backend is not configured from HAL hence skip*/
    if (snd_device == SND_DEVICE_OUT_BT_A2DP ||
        snd_device == SND_DEVICE_OUT_BT_SCO ||
        snd_device == SND_DEVICE_OUT_BT_SCO_WB) {
        snd_device == SND_DEVICE_OUT_BT_SCO_WB ||
        snd_device == SND_DEVICE_OUT_AFE_PROXY) {
        backend_change = false;
        return backend_change;
    }
+2 −1
Original line number Diff line number Diff line
@@ -5219,7 +5219,8 @@ static bool platform_check_codec_backend_cfg(struct audio_device* adev,
    /*BT devices backend is not configured from HAL hence skip*/
    if (snd_device == SND_DEVICE_OUT_BT_A2DP ||
        snd_device == SND_DEVICE_OUT_BT_SCO ||
        snd_device == SND_DEVICE_OUT_BT_SCO_WB) {
        snd_device == SND_DEVICE_OUT_BT_SCO_WB ||
        snd_device == SND_DEVICE_OUT_AFE_PROXY) {
        backend_change = false;
        return backend_change;
    }