Skip to content

Support Tegra I2S client format conversion

Sameer Pujar alsa-devel linux-sound linux-tegra lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix sparse warning related to incorrect type assignment for variable 'sample_format' in hw_params() call. The defect was reported by "kernel test robot <[email protected]>" and details can be found below:

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: simple-card-utils: Split simple_fixup_sample_fmt funcinclude/sound/simple_card_utils.h sound/soc/generic/simple-card-utils.c+22 -61 reply
2/2ASoC: tegra: I2S client convert formats handlingsound/soc/tegra/tegra210_i2s.c sound/soc/tegra/tegra210_i2s.h+69 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThierry Reding
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Support Tegra I2S client format conversion

From: Mohan Kumar <[email protected]>

The AHUB HW modules are interconnected with CIF which are capable of supporting Channel and Sample bit format conversion. Due to this, the I2S Client can have different Channel and Sample bit from the hw_params() and this config is passed from CIF port of I2S DT node which can help to perform this conversion.

- First change to split simple_fixup_sample_fmt to support returning sample format value
- Second patch to support Tegra I2S client channel and sample format programming based on CIF port from DT node.

Changelog
=========
v2:
- Fix sparse warning related to incorrect type assignment for variable 'sample_format' in hw_params() call. The defect was reported by "kernel test robot <[email protected]>" and details can be found below:

https://lore.kernel.org/oe-kbuild-all/[email protected]/

Mohan Kumar (2):
ASoC: simple-card-utils: Split simple_fixup_sample_fmt func
ASoC: tegra: I2S client convert formats handling

 include/sound/simple_card_utils.h     |  2 +
 sound/soc/generic/simple-card-utils.c | 26 +++++++---
 sound/soc/tegra/tegra210_i2s.c        | 71 +++++++++++++++++++++++++--
 sound/soc/tegra/tegra210_i2s.h        |  2 +
 4 files changed, 91 insertions(+), 10 deletions(-)
Signature · 1 line
2.45.1