[PATCH 0/2] ASoC: cpcap: Use standard ASoC DAI link configuration for voice
Ivaylo Dimitrov <[email protected]> Wed, 5 Aug 2026 17:44:32 +0300
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This series removes the modem-specific voice call support implementation from the cpcap codec driver and moves the DAI configuration towards the standard ASoC DAI link configuration model. The previous implementation added a cpcap-specific .set_tdm_slot() callback and relied on a client driver to locate and configure the codec DAI directly using snd_soc_dai_set_*() APIs. This couples the codec driver to a particular client implementation and bypasses the normal ASoC configuration flow. Instead, the voice DAI configuration can be described by the DAI link and DT, allowing the ASoC core to apply the required format configuration. The series: - removes the old modem-specific voice call support implementation; - makes the cpcap voice DAI format follow the configuration specified by DT. Patch 1 removes the obsolete implementation. Patch 2 updates cpcap to apply the DAI format from the runtime DAI link. Ivaylo Dimitrov (2): ASoC: cpcap: Remove modem-specific voice call support soc: codecs: cpcap: set voice DAI format as specified in DT sound/soc/codecs/cpcap.c | 130 ++------------------------------------- 1 file changed, 4 insertions(+), 126 deletions(-) -- 2.39.5