Skip to contentSkip to conversation

ASoC: tegra: Add S8 PCM format support for MVC

PATCH In review Sheetal 2 participants 2 messages Apr 28 – Apr 29

Subsystems (3)
lore
Share & tools
lore

Sheetal

author
#0 lore raw

PATCH 1/1 ASoC: tegra: Add S8 PCM format support for MVC

From: "Anupama Kunkulagunta" <[email protected]>

Add handling for SNDRV_PCM_FORMAT_S8 in the MVC audio CIF configuration. This allows 8-bit PCM streams to be processed by setting the appropriate TEGRA_ACIF_BITS_8 format in the CIF configuration.

---
 sound/soc/tegra/tegra210_mvc.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
sound/soc/tegra/tegra210_mvc.c +3 -0
index 2c299704ef4f..07b88e5f18ae 100644
@@ -438,6 +438,9 @@ static int tegra210_mvc_set_audio_cif(struct tegra210_mvc *mvc,
 	channels = params_channels(params);
 
 	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		audio_bits = TEGRA_ACIF_BITS_8;
+		break;
 	case SNDRV_PCM_FORMAT_S16_LE:
 		audio_bits = TEGRA_ACIF_BITS_16;
 		break;
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 1 line · Sheetal

ASoC: tegra: Add S8 PCM format support for MVC

Applied to

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

Thanks!

[1/1] ASoC: tegra: Add S8 PCM format support for MVC

      https://git.kernel.org/broonie/sound/c/116c535ea477

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