Skip to content

audioreach-driver: fix QAIF headset capture routing - #72

Merged
quic-aditrath merged 1 commit into
AudioReach:masterfrom
mpratyus:headset-cqs
Sep 8, 2026
Merged

quic-aditrath merged 1 commit into
AudioReach:masterfrom
mpratyus:headset-cqs

Conversation

@mpratyus

@mpratyus mpratyus commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Shikra QAIF capture reuses VA_CODEC_DMA_TX_0 for multiple capture paths. The current link-name selection always maps that DAI to CODEC_DMA-QAIF-TX-0, which leaves the headset capture path unable to select its dedicated QAIF backend.

Route "Headphones capture" to CODEC_DMA-QAIF-TX-1 while keeping the existing internal capture path on CODEC_DMA-QAIF-TX-0. Also add QAIF link-name handling for RX_CODEC_DMA_RX_1 and include VA_CODEC_DMA_TX_0 in the SoundWire stream setup and teardown paths.

CRs-Fixed: 4639300

Shikra QAIF capture reuses VA_CODEC_DMA_TX_0 for multiple capture
paths. The current link-name selection always maps that DAI to
CODEC_DMA-QAIF-TX-0, which leaves the headset capture path unable to
select its dedicated QAIF backend.

Route "Headphones capture" to CODEC_DMA-QAIF-TX-1 while keeping the
existing internal capture path on CODEC_DMA-QAIF-TX-0. Also add QAIF
link-name handling for RX_CODEC_DMA_RX_1 and include VA_CODEC_DMA_TX_0
in the SoundWire stream setup and teardown paths.

Signed-off-by: Pratyush Meduri <pratyush.meduri@oss.qualcomm.com>
@mpratyus
mpratyus requested review from a team September 3, 2026 20:55

@mohsRafi mohsRafi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@quic-aditrath
quic-aditrath merged commit 0c8573d into AudioReach:master Sep 8, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants