[PATCH 0/2] ASoC: cpcap: Use standard ASoC DAI link configuration for voice

Ivaylo Dimitrov posted 2 patches 1 month, 3 weeks ago
sound/soc/codecs/cpcap.c | 130 ++-------------------------------------
1 file changed, 4 insertions(+), 126 deletions(-)
[PATCH 0/2] ASoC: cpcap: Use standard ASoC DAI link configuration for voice
Posted by Ivaylo Dimitrov 1 month, 3 weeks ago
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
Re: [PATCH 0/2] ASoC: cpcap: Use standard ASoC DAI link configuration for voice
Posted by Mark Brown 1 month, 3 weeks ago
On Wed, 05 Aug 2026 17:44:32 +0300, Ivaylo Dimitrov wrote:
> ASoC: cpcap: Use standard ASoC DAI link configuration for voice
> 
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/2] ASoC: cpcap: Remove modem-specific voice call support
      https://git.kernel.org/broonie/sound/c/24fb36c1936b
[2/2] soc: codecs: cpcap: set voice DAI format as specified in DT
      https://git.kernel.org/broonie/sound/c/26a92a696897

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark