mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ASoC: tegra: Add support for S24_LE format
Add support for S24_LE format for all internal and IO AHUB modules. - Make the data to be S32_LE internal to AHUB modules. - Conversion from 24 to 32 or vise-versa will happen at ADMAIF, or at the IO modules CIF to maintain consistency across modules. Bug 200755886 Change-Id: I175e4177ec76baf7ead9b89276a70a4b454756fa Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2578280 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Viswanath L <viswanathl@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Sameer Pujar
parent
d3352a5e41
commit
85258fddea
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// tegra210_i2s.c - Tegra210 I2S driver
|
||||
//
|
||||
// Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved.
|
||||
// Copyright (c) 2020-2021 NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/device.h>
|
||||
@@ -554,7 +554,7 @@ static int tegra210_i2s_hw_params(struct snd_pcm_substream *substream,
|
||||
*/
|
||||
sample_size = 32;
|
||||
|
||||
cif_conf.audio_bits = TEGRA_ACIF_BITS_24;
|
||||
cif_conf.audio_bits = TEGRA_ACIF_BITS_32;
|
||||
cif_conf.client_bits = TEGRA_ACIF_BITS_24;
|
||||
break;
|
||||
case SNDRV_PCM_FORMAT_S32_LE:
|
||||
|
||||
Reference in New Issue
Block a user