]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Enable AIF mono/stereo control
authorSamuel Holland <samuel@sholland.org>
Thu, 1 Oct 2020 02:11:30 +0000 (21:11 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 13:16:20 +0000 (14:16 +0100)
commit619ff814cbaeeac79aa9c92c169e602d137034cf
treefda7da5e922aa9af482a9a39c4f0dad8b9ff2783
parent46878750bd0a7ec5dec3f4f28e14941a2254b2e6
ASoC: sun8i-codec: Enable AIF mono/stereo control

Each left/right pair of AIF input/output channels can be swapped or
combined. This is useful for sending a mono audio source to both sides
of a stereo sink, or for creating complex mixing scenarios.

Add the support to control this feature from userspace.

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