mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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 <akunkulagunt@nvidia.com> Signed-off-by: Sheetal <sheetal@nvidia.com> Link: https://patch.msgid.link/20260428051216.2746030-1-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
85db411913
commit
116c535ea4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user