From 75ba72b4f30a4a627425408f89e9278231907bc3 Mon Sep 17 00:00:00 2001 From: Alexy Joseph Date: Fri, 13 May 2016 15:40:45 -0700 Subject: [PATCH] ASoC: msm: qdsp6v2: Increase period size for pcm driver. For playing 24 bit through PCM driver with 40ms buffers, bigger buffers are needed. The size (in bytes) is 1920 (frames) x 4 (bytes per frame) x 8 (max channels). Increase the maximum size of the buffer to fit the bigger buffers. Change-Id: I7a59fb18846903960c329ad163788f6791495830 Signed-off-by: Alexy Joseph --- sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.h b/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.h index 06a7b2ab88d5..100f80cb842c 100644 --- a/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.h +++ b/sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.h @@ -59,7 +59,7 @@ struct msm_audio_in_frame_info { #define PLAYBACK_MIN_NUM_PERIODS 2 #define PLAYBACK_MAX_NUM_PERIODS 8 -#define PLAYBACK_MAX_PERIOD_SIZE 12288 +#define PLAYBACK_MAX_PERIOD_SIZE 61440 #define PLAYBACK_MIN_PERIOD_SIZE 128 #define CAPTURE_MIN_NUM_PERIODS 2 #define CAPTURE_MAX_NUM_PERIODS 8