]> 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)
commitc70178ec0a6f509c02c6b32810e406700151f95b
tree0f8b433996bdcf8014a72a0d647440877e80599a
parenta804a3bafb8f4d3f3a0f4b939ffa3d12b98cc07a
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