]> 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)
commit225f08e7da0b796517c98fd5b293efef32da36df
tree1e375035e55cebcb5d5b117c481b2a74d3538170
parentf9e9d4ede33f20ad238fc11db0232eaede684940
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