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)
commitf3ee99087c8ca0ecfdd549ef5a94f557c42d5428
treeffbacc37ca5d4295f0d5e5b06f7c23a47124dea5
parent6442793abf75a8081aa1f5da439529c08af2a5be
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