commit | cf46fa8c7669abc320e5b27caf839d9b0fb8fc86 | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <quic_xiaoyuy@quicinc.com> | Mon Sep 12 11:46:53 2022 -0700 |
committer | Xiaoyu Ye <quic_xiaoyuy@quicinc.com> | Mon Sep 12 11:46:53 2022 -0700 |
tree | 298a6cecc67aed034a52da8f60ed60e34da2d7b2 | |
parent | 855ac6b07b7b3204030843301b5485bbf82b8cb6 [diff] |
AGM: remove all aif_obj from aif_pool after close a session After close a session, removing all aif_obj from the session's aif_pool in sess_obj. This prevents a potential race condition which a dev_obj that's added by a previously closed session to be used in a different use case's new session. This issue can cause failure in session_apply_aif_device_params for graph set config when speaker protection is enabled. Change-Id: I4ed9571c598aa974761a144ecc704dcaf98ab9a3