Commit acb8e266 authored by Ben Gardiner's avatar Ben Gardiner Committed by Mark Brown

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: default avatarBen Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: default avatarSteven Faludi <stevenfaludi@nanometrics.ca>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8e56d5b8
...@@ -75,7 +75,7 @@ static struct snd_pcm_hardware pcm_hardware_playback = { ...@@ -75,7 +75,7 @@ static struct snd_pcm_hardware pcm_hardware_playback = {
.rate_min = 8000, .rate_min = 8000,
.rate_max = 96000, .rate_max = 96000,
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 384,
.buffer_bytes_max = 128 * 1024, .buffer_bytes_max = 128 * 1024,
.period_bytes_min = 32, .period_bytes_min = 32,
.period_bytes_max = 8 * 1024, .period_bytes_max = 8 * 1024,
...@@ -97,7 +97,7 @@ static struct snd_pcm_hardware pcm_hardware_capture = { ...@@ -97,7 +97,7 @@ static struct snd_pcm_hardware pcm_hardware_capture = {
.rate_min = 8000, .rate_min = 8000,
.rate_max = 96000, .rate_max = 96000,
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 384,
.buffer_bytes_max = 128 * 1024, .buffer_bytes_max = 128 * 1024,
.period_bytes_min = 32, .period_bytes_min = 32,
.period_bytes_max = 8 * 1024, .period_bytes_max = 8 * 1024,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment