OSDN Git Service

ASoC: rt5645: Allow 4 channel recording on AIF1
authorBen Zhang <benzh@chromium.org>
Mon, 28 Sep 2015 20:32:37 +0000 (13:32 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 2 Oct 2015 17:13:06 +0000 (18:13 +0100)
The codec supports 4 channel recording with TDM on AIF1.
This patch modifies the DAI capability to allow it.

Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c

index 1f7045b..66b7332 100644 (file)
@@ -3113,7 +3113,7 @@ static struct snd_soc_dai_driver rt5645_dai[] = {
                .capture = {
                        .stream_name = "AIF1 Capture",
                        .channels_min = 1,
-                       .channels_max = 2,
+                       .channels_max = 4,
                        .rates = RT5645_STEREO_RATES,
                        .formats = RT5645_FORMATS,
                },