aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2016-09-27 04:30:15 -0400
committerMark Brown <broonie@kernel.org>2016-09-27 12:34:48 -0400
commit3520646dbb22832fa65dae6899d8cb068257d4aa (patch)
treedb2260692af888a8059643ff57b50e408ad1dace
parentef9656b6936fb7f66e7e25d284c955f4893ac421 (diff)
ASoC: tlv320aic31xx: do not declare support for mono DAI
This hardware supports only 2-channel DAI, even mono ADC digital output has two channels with the same data. Having min_channels=1 results in broken playback of mono files in setups where CPU DAI supports mono. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/tlv320aic31xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index 725173b12725..be1a64bfd320 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -1213,7 +1213,7 @@ static struct snd_soc_dai_driver dac31xx_dai_driver[] = {
1213 .name = "tlv32dac31xx-hifi", 1213 .name = "tlv32dac31xx-hifi",
1214 .playback = { 1214 .playback = {
1215 .stream_name = "Playback", 1215 .stream_name = "Playback",
1216 .channels_min = 1, 1216 .channels_min = 2,
1217 .channels_max = 2, 1217 .channels_max = 2,
1218 .rates = AIC31XX_RATES, 1218 .rates = AIC31XX_RATES,
1219 .formats = AIC31XX_FORMATS, 1219 .formats = AIC31XX_FORMATS,
@@ -1228,14 +1228,14 @@ static struct snd_soc_dai_driver aic31xx_dai_driver[] = {
1228 .name = "tlv320aic31xx-hifi", 1228 .name = "tlv320aic31xx-hifi",
1229 .playback = { 1229 .playback = {
1230 .stream_name = "Playback", 1230 .stream_name = "Playback",
1231 .channels_min = 1, 1231 .channels_min = 2,
1232 .channels_max = 2, 1232 .channels_max = 2,
1233 .rates = AIC31XX_RATES, 1233 .rates = AIC31XX_RATES,
1234 .formats = AIC31XX_FORMATS, 1234 .formats = AIC31XX_FORMATS,
1235 }, 1235 },
1236 .capture = { 1236 .capture = {
1237 .stream_name = "Capture", 1237 .stream_name = "Capture",
1238 .channels_min = 1, 1238 .channels_min = 2,
1239 .channels_max = 2, 1239 .channels_max = 2,
1240 .rates = AIC31XX_RATES, 1240 .rates = AIC31XX_RATES,
1241 .formats = AIC31XX_FORMATS, 1241 .formats = AIC31XX_FORMATS,