aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-08-20 09:18:12 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-20 15:10:26 -0400
commit7e4f943b725008272d5c50e676a89d642232a4e3 (patch)
tree5789e41575d234be6c39be4bb9c3ad97bb6e7c3f
parenta1a56f5faa41327116bf960a8e79f21a8ea35dce (diff)
OMAP3: McBSP: Lower the maximum buffersize for McBSP1, 3, 4, 5
Do not allow applications to use the full buffer found on McBSP1,3,4,5. Using the full buffer in threshold mode causes the McBSP buffer to run dry, which can be observed as channels are switching (in reality the channels are shifting). Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--arch/arm/mach-omap2/mcbsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c
index f837114d1d69..7d22caf60090 100644
--- a/arch/arm/mach-omap2/mcbsp.c
+++ b/arch/arm/mach-omap2/mcbsp.c
@@ -129,7 +129,7 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = {
129 .rx_irq = INT_24XX_MCBSP1_IRQ_RX, 129 .rx_irq = INT_24XX_MCBSP1_IRQ_RX,
130 .tx_irq = INT_24XX_MCBSP1_IRQ_TX, 130 .tx_irq = INT_24XX_MCBSP1_IRQ_TX,
131 .ops = &omap2_mcbsp_ops, 131 .ops = &omap2_mcbsp_ops,
132 .buffer_size = 0x7F, 132 .buffer_size = 0x6F,
133 }, 133 },
134 { 134 {
135 .phys_base = OMAP34XX_MCBSP2_BASE, 135 .phys_base = OMAP34XX_MCBSP2_BASE,
@@ -147,7 +147,7 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = {
147 .rx_irq = INT_24XX_MCBSP3_IRQ_RX, 147 .rx_irq = INT_24XX_MCBSP3_IRQ_RX,
148 .tx_irq = INT_24XX_MCBSP3_IRQ_TX, 148 .tx_irq = INT_24XX_MCBSP3_IRQ_TX,
149 .ops = &omap2_mcbsp_ops, 149 .ops = &omap2_mcbsp_ops,
150 .buffer_size = 0x7F, 150 .buffer_size = 0x6F,
151 }, 151 },
152 { 152 {
153 .phys_base = OMAP34XX_MCBSP4_BASE, 153 .phys_base = OMAP34XX_MCBSP4_BASE,
@@ -156,7 +156,7 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = {
156 .rx_irq = INT_24XX_MCBSP4_IRQ_RX, 156 .rx_irq = INT_24XX_MCBSP4_IRQ_RX,
157 .tx_irq = INT_24XX_MCBSP4_IRQ_TX, 157 .tx_irq = INT_24XX_MCBSP4_IRQ_TX,
158 .ops = &omap2_mcbsp_ops, 158 .ops = &omap2_mcbsp_ops,
159 .buffer_size = 0x7F, 159 .buffer_size = 0x6F,
160 }, 160 },
161 { 161 {
162 .phys_base = OMAP34XX_MCBSP5_BASE, 162 .phys_base = OMAP34XX_MCBSP5_BASE,
@@ -165,7 +165,7 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = {
165 .rx_irq = INT_24XX_MCBSP5_IRQ_RX, 165 .rx_irq = INT_24XX_MCBSP5_IRQ_RX,
166 .tx_irq = INT_24XX_MCBSP5_IRQ_TX, 166 .tx_irq = INT_24XX_MCBSP5_IRQ_TX,
167 .ops = &omap2_mcbsp_ops, 167 .ops = &omap2_mcbsp_ops,
168 .buffer_size = 0x7F, 168 .buffer_size = 0x6F,
169 }, 169 },
170}; 170};
171#define OMAP34XX_MCBSP_PDATA_SZ ARRAY_SIZE(omap34xx_mcbsp_pdata) 171#define OMAP34XX_MCBSP_PDATA_SZ ARRAY_SIZE(omap34xx_mcbsp_pdata)