From: Anupama Kunkulagunta Date: Tue, 28 Apr 2026 05:12:16 +0000 (+0000) Subject: ASoC: tegra: Add S8 PCM format support for MVC X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116c535ea4770ee3af57c5d52d71c574009f93a7;p=thirdparty%2Flinux.git ASoC: tegra: Add S8 PCM format support for MVC 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. Signed-off-by: Anupama Kunkulagunta Signed-off-by: Sheetal Link: https://patch.msgid.link/20260428051216.2746030-1-sheetal@nvidia.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra210_mvc.c b/sound/soc/tegra/tegra210_mvc.c index 2c299704ef4f2..b55f8142c4a47 100644 --- a/sound/soc/tegra/tegra210_mvc.c +++ b/sound/soc/tegra/tegra210_mvc.c @@ -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;