-
Notifications
You must be signed in to change notification settings - Fork 349
Description
[ transferred - previously filed to SOF Linux driver as https://github.com/thesofproject/linux/issues/4330 ]
Description
with BToffload enabled , when we connect HFP-only supported bt headset, mic stops working from second try, from sof trace logs we see
[ 85209608.124491] ( 1869.218628) c0 dw-dma src/drivers/dw/dma.c:1062 INFO dw_dma_avail_data_size() size is 0!
[ 85209633.593240] ( 25.468748) c0 dw-dma src/drivers/dw/dma.c:1128 ERROR dw_dma_get_data_size(): xrun detected
dmesg.log
steps to reproduce
- Connect to an HFP-only bt headset
- Start a youtube clip via BT output
- Start mic recording via BT input
- Stop mic recording via BT input
- Start mic recording via BT input
Expected
Mic should start at step 5
Result
Mic fails to start
repro rate
10/10
SW Configuration
kernel: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/chromeos-5.15
sof FW: https://github.com/thesofproject/sof/tree/cavs2.5-001-drop-stable
sof topology: sof-adl-max98360a-rt5682.tplg