Parent: 0cac149a4bdfd96350e34bb8bcd9baff6df9f143
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-08-11 15:50:38
Tree: f1660a8426f75beffff9eba3e905032d99daf81b
bap: fix multiple release of stream when closing setup If setup->closing, then the stream was already released and should not be released again. Also, if stream is RELEASING on setup_close(), freeing the setup should be delayed until the stream exits that state. Fixes issue where setup is closed, stream goes RELEASING->CONFIG, the setup is freed and a duplicate release op is queued. Before that completes, the stream is reused for a new setup. In this case, the new setup is incorrectly destroyed when the release op completes although it was intended to destroy the old setup.
Diffstat
| M | profiles/audio/bap.c | | | 11 | ++++++++- - - |
1 files changed, 8 insertions(+), 3 deletions(-)