summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorBen Zhang <benzh@chromium.org>2015-09-28 23:32:37 +0300
committerMark Brown <broonie@kernel.org>2015-10-02 20:13:06 +0300
commitfbe039bb0815e6113f82021aa8c0e36a1941f511 (patch)
treef8e95377b9c52c028351f31a84a452f2aa77cdd9 /sound/soc/codecs/rt5645.c
parente29fd55d8d23ea7afcadd15a87700583e7da5035 (diff)
downloadlinux-fbe039bb0815e6113f82021aa8c0e36a1941f511.tar.xz
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 <benzh@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r--sound/soc/codecs/rt5645.c2
1 files changed, 1 insertions, 1 deletions
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,
},