diff options
author | ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com> | 2012-06-14 10:38:00 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-14 11:00:17 +0200 |
commit | 7f05cc5403acfaa436ee27caa90ac12e96ac257e (patch) | |
tree | ab1df7c6b36721380e48ea9e06d18cc3acf22570 | |
parent | 247e6e0e949e3c0681a6a63034f28e6c655994d0 (diff) |
audio: Fix for choppy playback in Ubuntu pulse audioaudio
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
-rw-r--r-- | sound/soc/ux500/ux500_pcm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/ux500/ux500_pcm.h b/sound/soc/ux500/ux500_pcm.h index 3d1ea4f8395..0386784a2a0 100644 --- a/sound/soc/ux500/ux500_pcm.h +++ b/sound/soc/ux500/ux500_pcm.h @@ -26,7 +26,12 @@ #define UX500_PLATFORM_MAX_CHANNELS 8 #define UX500_PLATFORM_PERIODS_BYTES_MIN 128 -#define UX500_PLATFORM_PERIODS_BYTES_MAX (64 * PAGE_SIZE) + +/* Our DMA supports maximum of 131070 bytes segment size + * So, we can support period_size of max 32767 frames + */ +#define UX500_PLATFORM_PERIODS_BYTES_MAX 131070 + #define UX500_PLATFORM_PERIODS_MIN 2 #define UX500_PLATFORM_PERIODS_MAX 48 #define UX500_PLATFORM_BUFFER_BYTES_MAX (2048 * PAGE_SIZE) |