aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2011-05-24 14:50:17 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-25 07:14:29 -0400
commitacb8e2666eba7417e2fab783f86dbe067c3e815f (patch)
tree436cf0aa5e744621e1a17dd18140edc6677f222f /sound/soc/davinci
parent8e56d5b834610504e232641565236ac60740a858 (diff)
ASoC: davinci-pcm: increase the maximum channels
Based on the registration of davinci-mcasp.1 in the davinci-evm platform setup for da830 and dm6467, davinci-pcm can handle more than the currently reported maximum channels of 2. Increase the maximum channels to 384 to match the maximum reported by davinci-mcasp.1. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Reviewed-by: Steven Faludi <stevenfaludi@nanometrics.ca> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r--sound/soc/davinci/davinci-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c
index 1e47267210b6..9b5a9bf9393a 100644
--- a/sound/soc/davinci/davinci-pcm.c
+++ b/sound/soc/davinci/davinci-pcm.c
@@ -75,7 +75,7 @@ static struct snd_pcm_hardware pcm_hardware_playback = {
75 .rate_min = 8000, 75 .rate_min = 8000,
76 .rate_max = 96000, 76 .rate_max = 96000,
77 .channels_min = 2, 77 .channels_min = 2,
78 .channels_max = 2, 78 .channels_max = 384,
79 .buffer_bytes_max = 128 * 1024, 79 .buffer_bytes_max = 128 * 1024,
80 .period_bytes_min = 32, 80 .period_bytes_min = 32,
81 .period_bytes_max = 8 * 1024, 81 .period_bytes_max = 8 * 1024,
@@ -97,7 +97,7 @@ static struct snd_pcm_hardware pcm_hardware_capture = {
97 .rate_min = 8000, 97 .rate_min = 8000,
98 .rate_max = 96000, 98 .rate_max = 96000,
99 .channels_min = 2, 99 .channels_min = 2,
100 .channels_max = 2, 100 .channels_max = 384,
101 .buffer_bytes_max = 128 * 1024, 101 .buffer_bytes_max = 128 * 1024,
102 .period_bytes_min = 32, 102 .period_bytes_min = 32,
103 .period_bytes_max = 8 * 1024, 103 .period_bytes_max = 8 * 1024,