From 05145d1edb32797031ee750afd61d5408fdb2475 Mon Sep 17 00:00:00 2001 From: Sebastien Guiriec Date: Tue, 27 Jul 2010 17:53:38 +0100 Subject: [PATCH 31/60] ASoC: McPDM: Change McPDM FIFO threshold commit 63e032fb6ebac764f5c8a4b754bcde0b8fb9003b upstream Increase FIFO threshold to 4 to improve audio performance. McPDM FIFO threshold must match ATC iteration number when ABE is in use to ensure proper synchronization. Change-Id: I45bd70d9d2f5d7a8971504336b389eea322c4a20 Signed-off-by: Sebastien Guiriec Signed-off-by: Margarita Olaya Cabrera Integrated-by: Jingdong Lu --- sound/soc/omap/omap-mcpdm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c index 7259a55..cb093fd 100644 --- a/sound/soc/omap/omap-mcpdm.c +++ b/sound/soc/omap/omap-mcpdm.c @@ -72,13 +72,13 @@ static struct omap_mcpdm_link omap_mcpdm_links[] = { /* downlink */ { .irq_mask = MCPDM_DN_IRQ_EMPTY | MCPDM_DN_IRQ_FULL, - .threshold = 1, + .threshold = 2, .format = PDMOUTFORMAT_LJUST, }, /* uplink */ { .irq_mask = MCPDM_UP_IRQ_EMPTY | MCPDM_UP_IRQ_FULL, - .threshold = 1, + .threshold = 2, .format = PDMOUTFORMAT_LJUST, }, }; -- 1.7.4.1