commit | bc0b88e2aa62cb26de16070e9cecda07fa7f005f | [log] [tgz] |
---|---|---|
author | Vaibhav Raut <quic_vraut@quicinc.com> | Mon Dec 11 14:23:01 2023 +0530 |
committer | Vaibhav Raut <quic_vraut@quicinc.com> | Mon Dec 11 15:11:58 2023 +0530 |
tree | a252ce0d001ddf861d7ed5259084cee30a784172 | |
parent | ee821931e89a915efc3fc2cde733d694b2afc47b [diff] |
HAL: Fix for crash due to structure mismatch during st deinit The current implementation of the clear_devices function involves the audio_device_info structure. However, when a listnode is added to st_ses_list, the structure sound_trigger_info is used. This leads to a structural mismatch when clear_devices is called during sound trigger deinit with st_ses_list. A new function is introduced to handle the mismatch of structures. Change-Id: Ida5d5ab2b4a80da5a637a9301465ec3efc16d6ae