]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4977c72e3ef9b30f25d28a9f7e2fd392b3b49342
tree074c854c02adeaa9aba63c74b9c8b2c518ab601a
parent68a6a28e20e25f5a1126d778bc163c0a380d5355
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