]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-i2s: Support more channels
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 19 Aug 2019 19:25:26 +0000 (21:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 17:34:29 +0000 (18:34 +0100)
commit0191a4a3c43500a2929b242d4676caec3b1b8f0e
tree0f8b433996bdcf8014a72a0d647440877e80599a
parent4edaea0a03a1a29de8c58fe17541b5f6b450f76f
ASoC: sun4i-i2s: Support more channels

We've been limited to 2 channels in the driver while the controller
supports from 1 to 8 channels, in both capture and playback. let's remove
the hardcoded checks and numbers, and extend the range of channel numbers
we can use.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://lore.kernel.org/r/27d9de5cd56f3a544851b8cd8af08bf836d19637.1566242458.git-series.maxime.ripard@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c