]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Allow 24bit and 32bit samples
authorEdward Cragg <edward.cragg@codethink.co.uk>
Fri, 18 Oct 2019 15:48:28 +0000 (16:48 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 25 Oct 2019 10:06:27 +0000 (11:06 +0100)
commit592b7d4c020d029a7a796e12446f6f955d11b564
treeffbacc37ca5d4295f0d5e5b06f7c23a47124dea5
parent2a0a9128d0e8eac34b19bdb592e39445f5c80e89
ASoC: tegra: Allow 24bit and 32bit samples

The tegra3 audio can support 24 and 32 bit sample sizes so add the
option to the tegra30_i2s_hw_params to configure the S24_LE or S32_LE
formats when requested.

Signed-off-by: Edward Cragg <edward.cragg@codethink.co.uk>
[ben.dooks@codethink.co.uk: fixup merge of 24 and 32bit]
[ben.dooks@codethink.co.uk: add pm calls around ytdm config]
[ben.dooks@codethink.co.uk: drop debug printing to dev_dbg]
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20191018154833.7560-3-ben.dooks@codethink.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_i2s.c