ASoC: msm: Modify min and max period bytes and num periods

Modify min and max period bytes and number of periods in
compressed driver so as to be consistent with lpa and to
meet ION memory requirements. This avoids using huge
buffer sizes for tunnel decode.

Change-Id: Ib71da4cebfc097e7aeaf0ca0e65ee847ba7cceb7
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
This commit is contained in:
Phani Kumar Uppalapati 2012-12-14 16:35:05 -08:00 committed by Stephen Boyd
parent 124d6f7020
commit eb09a2ab1d

View file

@ -86,11 +86,11 @@ static struct snd_pcm_hardware msm_compr_hardware_playback = {
.rate_max = 48000,
.channels_min = 1,
.channels_max = 8,
.buffer_bytes_max = 1200 * 1024 * 2,
.period_bytes_min = 2400,
.period_bytes_max = 1200 * 1024,
.periods_min = 2,
.periods_max = 1024,
.buffer_bytes_max = 1024 * 1024,
.period_bytes_min = 128 * 1024,
.period_bytes_max = 256 * 1024,
.periods_min = 4,
.periods_max = 8,
.fifo_size = 0,
};