]> 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)
commitaa2b39fd1806ec40d460ec8df668d789dd8bd697
tree074c854c02adeaa9aba63c74b9c8b2c518ab601a
parentba1a7e6ee14f9797b168953da6455c62ac9421b1
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