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

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

Merge "hal: Device switch should happen only during anc enable/disable"

parents b6645a4c be677c34
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -119,7 +119,6 @@ void audio_extn_set_anc_parameters(struct audio_device *adev,
            aextnmod.anc_enabled = true;
        else
            aextnmod.anc_enabled = false;
    }

        list_for_each(node, &adev->usecase_list) {
            usecase = node_to_item(node, struct audio_usecase, list);
@@ -134,6 +133,7 @@ void audio_extn_set_anc_parameters(struct audio_device *adev,
                }
            }
        }
    }

    ALOGD("%s: anc_enabled:%d", __func__, aextnmod.anc_enabled);
}