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:03 +0200 |
commit | a1b293b42de29a94283602e6d749b769e42d0670 (patch) | |
tree | fd52f325f12b1a8f4bed484da6e2b2a078099348 | |
parent | 1a6aad9e0785b7327809620d9e78c3ec01feb1d8 (diff) |
audio: Fix for choppy playback in Ubuntu pulse audio
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 50f46615275..59d4c1837b9 100644 --- a/sound/soc/ux500/ux500_pcm.h +++ b/sound/soc/ux500/ux500_pcm.h @@ -25,7 +25,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) |