ASoC: sun8i-codec: Enable all supported PCM formats
authorSamuel Holland <samuel@sholland.org>
Wed, 14 Oct 2020 06:19:38 +0000 (01:19 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 14:57:03 +0000 (14:57 +0000)
commit342cacb92d627a7cc8df1b5fe3e404530164ea17
tree074c854c02adeaa9aba63c74b9c8b2c518ab601a
parent2464dccab7fef040bd6e85cd78ac33e2731925da
ASoC: sun8i-codec: Enable all supported PCM formats

Now that the DAI clock setup is correct for all hardware-supported PCM
formats, we can enable them in the driver. With the appropriate support
in the CPU DAI driver, this allows userspace to access the additional
formats.

Since this codec is connected to the CPU via a DAI, not directly, we do
not care if the CPU DAI is using 3-byte or 4-byte formats, so we can
support them both.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20201014061941.4306-15-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c