aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisael Lopez Cruz2013-07-18 14:08:52 -0500
committerMisael Lopez Cruz2013-07-22 15:04:16 -0500
commitc4fc032ec03b9dcdc3862452a99e3fc2f691ff91 (patch)
treed1d9b482e8caf820b9cfb8e44bf923343eadfa15
parente2f57538850b604bae31451ac1d751407a6d60a1 (diff)
downloadkernel-audio-c4fc032ec03b9dcdc3862452a99e3fc2f691ff91.tar.gz
kernel-audio-c4fc032ec03b9dcdc3862452a99e3fc2f691ff91.tar.xz
kernel-audio-c4fc032ec03b9dcdc3862452a99e3fc2f691ff91.zip
ASoC: davinci-mcasp: Add support for 1-channel
McASP doesn't support 1-slot TDM mode needed for mono, however mono can still be achieved by using 2-slots (or more) and transferring data only in one slot. Change-Id: Ic8420cf2d6cc1ee9b9c163ab592cfa347a679340 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
-rw-r--r--sound/soc/davinci/davinci-mcasp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 99cdd6034c43..5d9af6c7ddfa 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -1081,13 +1081,13 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
1081 { 1081 {
1082 .name = "davinci-mcasp.0", 1082 .name = "davinci-mcasp.0",
1083 .playback = { 1083 .playback = {
1084 .channels_min = 2, 1084 .channels_min = 1,
1085 .channels_max = 32 * 16, 1085 .channels_max = 32 * 16,
1086 .rates = DAVINCI_MCASP_RATES, 1086 .rates = DAVINCI_MCASP_RATES,
1087 .formats = DAVINCI_MCASP_PCM_FMTS, 1087 .formats = DAVINCI_MCASP_PCM_FMTS,
1088 }, 1088 },
1089 .capture = { 1089 .capture = {
1090 .channels_min = 2, 1090 .channels_min = 1,
1091 .channels_max = 32 * 16, 1091 .channels_max = 32 * 16,
1092 .rates = DAVINCI_MCASP_RATES, 1092 .rates = DAVINCI_MCASP_RATES,
1093 .formats = DAVINCI_MCASP_PCM_FMTS, 1093 .formats = DAVINCI_MCASP_PCM_FMTS,