diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2013-09-19 11:20:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-26 12:18:36 +0200 |
commit | ce3d060990cd799cef4eeffc290090fb5da15e94 (patch) | |
tree | 1cf4da53674fd38e1e0c595d4774a8407c7c3374 /sound/soc/kirkwood | |
parent | ASoC: kirkwood: fix loss of external clock at probe time (diff) | |
download | linux-ce3d060990cd799cef4eeffc290090fb5da15e94.tar.xz linux-ce3d060990cd799cef4eeffc290090fb5da15e94.zip |
ASoc: kirkwood: Extend the min and max number of bytes per period
This patch extends the min and max number of bytes per period.
It mainly permits to reduce the sound delay in MIDI real-time playing.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/kirkwood')
-rw-r--r-- | sound/soc/kirkwood/kirkwood.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/kirkwood/kirkwood.h b/sound/soc/kirkwood/kirkwood.h index f8e1ccc1c58c..bf23afbba1d7 100644 --- a/sound/soc/kirkwood/kirkwood.h +++ b/sound/soc/kirkwood/kirkwood.h @@ -123,8 +123,8 @@ /* need to find where they come from */ #define KIRKWOOD_SND_MIN_PERIODS 8 #define KIRKWOOD_SND_MAX_PERIODS 16 -#define KIRKWOOD_SND_MIN_PERIOD_BYTES 0x4000 -#define KIRKWOOD_SND_MAX_PERIOD_BYTES 0x4000 +#define KIRKWOOD_SND_MIN_PERIOD_BYTES 0x800 +#define KIRKWOOD_SND_MAX_PERIOD_BYTES 0x8000 #define KIRKWOOD_SND_MAX_BUFFER_BYTES (KIRKWOOD_SND_MAX_PERIOD_BYTES \ * KIRKWOOD_SND_MAX_PERIODS) |