Below, is the fix for the choppy playback. I got notified from phillipe that, the patch is already merged.
diff --git a/sound/soc/ux500/ux500_pcm.h b/sound/soc/ux500/ux500_pcm.h index 3d1ea4f..0386784 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)
Below, is the fix for the choppy playback. I got notified from phillipe that, the patch is already merged.
diff --git a/sound/ soc/ux500/ ux500_pcm. h b/sound/ soc/ux500/ ux500_pcm. h index 3d1ea4f..0386784 100644 soc/ux500/ ux500_pcm. h soc/ux500/ ux500_pcm. h MAX_CHANNELS 8
--- a/sound/
+++ b/sound/
@@ -26,7 +26,12 @@
#define UX500_PLATFORM_
#define UX500_PLATFORM_ PERIODS_ BYTES_MIN 128 PERIODS_ BYTES_MAX (64 * PAGE_SIZE) PERIODS_ BYTES_MAX 131070 PERIODS_ MIN 2 PERIODS_ MAX 48 BUFFER_ BYTES_MAX (2048 * PAGE_SIZE)
-#define UX500_PLATFORM_
+
+/* Our DMA supports maximum of 131070 bytes segment size
+ * So, we can support period_size of max 32767 frames */
+#define UX500_PLATFORM_
+
#define UX500_PLATFORM_
#define UX500_PLATFORM_
#define UX500_PLATFORM_