shared/bap: Fix attempting to disable stream when it is idle
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Sep 2022 21:21:13 +0000 (14:21 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit75549797972ea4e3f46d713f52d6f1b581c1fbcf
treebb2ccdf28a5b43e3a28635d483124872f95ac260
parent415ff48f95687a8bd961dfece06576d47cdf8cf4
shared/bap: Fix attempting to disable stream when it is idle

If the stream is already in idle state do not attempt to disable it
again.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/bap.c