From: Ben Zhang Date: Mon, 28 Sep 2015 20:32:37 +0000 (-0700) Subject: ASoC: rt5645: Allow 4 channel recording on AIF1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fbe039bb0815e6113f82021aa8c0e36a1941f511;p=linux-beck.git ASoC: rt5645: Allow 4 channel recording on AIF1 The codec supports 4 channel recording with TDM on AIF1. This patch modifies the DAI capability to allow it. Signed-off-by: Ben Zhang Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 1f7045bc23a7..66b7332e8654 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -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, },