profiles: Allow linked transport to release the fd
authorFrédéric Danis <frederic.danis@collabora.com>
Wed, 24 Aug 2022 15:05:19 +0000 (17:05 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitc7afbb8b74419330698c57f4edb1d2242b9a8951
tree0583df0696c3d11d0387a162f166f40597ff56b2
parent41e50c3b8caf96ae19450dd626454ab9406bac37
profiles: Allow linked transport to release the fd

Multiple transports can be linked when using LE Audio BAP.
In this case only one transport is used to Acquire the file descriptor
which will be shared by all linked transports.
In the same way, any transport can Release the file descriptor.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/transport.c