]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: i2s: Support mono capture
authorMatthias Kaehlcke <mka@chromium.org>
Fri, 5 Jan 2018 22:12:42 +0000 (14:12 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 11:28:33 +0000 (11:28 +0000)
commit09ccdb81cadeed5f4d8409f7a211a32b75b1e597
tree1e375035e55cebcb5d5b117c481b2a74d3538170
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
ASoC: rockchip: i2s: Support mono capture

The Rockchip I2S controller only allows to configure even numbers of
capture channels. It is still possible to capture monophonic audio by
using dual-channel mode and ignoring the 'data' from the second
channel.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c