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)
commitdb51707b9c9aeedd310ebce60f15d5bb006567e0
tree1e375035e55cebcb5d5b117c481b2a74d3538170
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
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