Commit grafiek

9 Commits

Auteur SHA1 Bericht Datum
Balakrishna Godavarthi
34596eb093 btfmcodec: check before closing port
This change will check whether port was previously
opened before shutting down.

Change-Id: I6b74a006c4c240fa9498747c8c3af214d3709dc3
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2024-02-02 17:10:13 +05:30
Balakrishna Godavarthi
d9dbe6c5bd btfmcodec: cancel workqueue
This change will cancel workqueue when bearer indication
is received.

Change-Id: Ib16849e684d6c2fb2ded817baff7ab31b5cbd6db
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-11-08 07:48:07 -08:00
Balakrishna Godavarthi
897ecff742 soundwire: Update soundwire driver to support btfmcodec
This change add supports in both btfmcodec and soundwire
to support btfmcodec driver has interface.

Change-Id: I2e77afaea44778147b362175aae33961dcc5042e
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-10-02 23:29:26 -07:00
Balakrishna Godavarthi
f6eccaaf19 btfmcodec: fix logging errors
This change add format specifiers wherever required.

Change-Id: I8bac382b0cc50e302ed780335510c0ba7df279fa
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-07-05 20:27:37 +05:30
Balakrishna Godavarthi
8998587891 btfmcodec: Enable Dynamic logging
This change will enable dynamic logging based on below
flags
Below bit has to be set to enable respective logging.
 * Bit 0: Error message.
 * Bit 1: Warning message.
 * Bit 2: Debug message.
 * Bit 3: Info message.
 * 0x08 is similar to 0x0F.
 * 0x04 is similar to 0x07.
 * 0x02 is similar to 0x03.
 * 0x03 is default log level for BTFM Codec.

Change-Id: Ia986a49f73d6144f2631936b8d02985d3ccf98d0
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-06-20 19:13:30 -07:00
Balakrishna Godavarthi
e7e85692a1 btfmcodec: unblock waiting threads during usecase shutdown
This change notifies waiting thread when usecase shutdown
is triggered and also flush work queues.

Change-Id: If523e806dc23fc256e82c4eac30f7aa79b119f55
2023-01-27 19:31:49 -08:00
Balakrishna Godavarthi
4a2649332e btfmcodec: Add btadv audio support
This change adds below support for BT advance audio
* Add support for codec type mixer control
* Update slim driver to read master id, channel number.
* Update slim driver to support HW EP.
* Add support for transport switch based on the request

CRs-Fixed: 3298745
Change-Id: Ica349cb6f3615f4dc51bbc3070c90d43eeba1cdd
2023-01-17 10:20:36 +05:30
Balakrishna Godavarthi
30209d05c3 btfmcodec: Add packetization and depacketizations
This change adds support for packetization and
depacketization of various packet received or sent
from btfmcodec driver.

CRs-Fixed: 3298745
Change-Id: I30c1a7897a1f50d5dcad83757900152f2c06255b
2023-01-15 19:16:58 +05:30
Balakrishna Godavarthi
d22c687077 btfmcodec: Create btfmcodec driver
This changes handles below.

1. Create btfm codec driver.
2. add support to enumerate char device.
3. create hardware endpoint abstract layers.
4. Register with ALSA driver

CRs-Fixed: 3298745
Change-Id: Id75dad16de8414b3b6a24d265c8acb54eca4d5dc
2023-01-15 19:16:43 +05:30