diff options
author | Alan Tull <r80115@freescale.com> | 2009-07-28 15:14:41 -0500 |
---|---|---|
committer | Rob Herring <r.herring@freescale.com> | 2009-08-07 09:47:03 -0500 |
commit | c6ceacf5e558e0ac7b3ec427465b4a44878bb7bb (patch) | |
tree | 61dffa026b0c9da4c57ef00aa57e2aa323f4fa4c | |
parent | 00a5ecab6939ec34ec0f7b6ca89a8686d4fbc838 (diff) |
ENGR00114681 pcm: set minimum period to 2k
The app that plays the Ubuntu desktop login sound sets the period
to whatever minimum is allowed by the driver. This change sets
period size high enough value that we will never have ssi underruns
then.
Signed-off-by: Alan Tull <r80115@freescale.com>
-rw-r--r-- | sound/soc/imx/imx-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-pcm.c b/sound/soc/imx/imx-pcm.c index 9b7fed4b1894..5f46151d2ca4 100644 --- a/sound/soc/imx/imx-pcm.c +++ b/sound/soc/imx/imx-pcm.c @@ -67,7 +67,7 @@ static const struct snd_pcm_hardware imx_pcm_hardware = { .buffer_bytes_max = 64 * 1024, .period_bytes_max = 16 * 1024, #endif - .period_bytes_min = 64, + .period_bytes_min = 2 * SZ_1K, .periods_min = 2, .periods_max = 255, .fifo_size = 0, |