Skip to content

[ADL/RPL] [Bug] BT HFP offload capture stops working from second time #7548

@Vamshigopal

Description

@Vamshigopal

[ 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

sof-logger.log

btsnoop.log

steps to reproduce

  1. Connect to an HFP-only bt headset
  2. Start a youtube clip via BT output
  3. Start mic recording via BT input
  4. Stop mic recording via BT input
  5. 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

Metadata

Metadata

Assignees

Labels

ADLApplies to Alder Lake platformP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions