aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mcbsp.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-12-15 04:32:26 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-17 04:31:27 -0500
commitda76250e13256ec58f1b92256d847a7a8ebd9ce8 (patch)
treeba6381e209a04b64a598d14c885aba7feccda74c /arch/arm/mach-omap2/mcbsp.c
parentd78930f42247ceacd83a7f1c0ca37ab2e0a3fd5b (diff)
OMAP4: mcbsp: Enable FIFO usage
All McBSP instances on OMAP4 has 128 word long FIFO Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-omap2/mcbsp.c')
-rw-r--r--arch/arm/mach-omap2/mcbsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c
index 292eee3be15f..857860b325b0 100644
--- a/arch/arm/mach-omap2/mcbsp.c
+++ b/arch/arm/mach-omap2/mcbsp.c
@@ -153,6 +153,9 @@ static int omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
153 else 153 else
154 /* The FIFO has 128 locations */ 154 /* The FIFO has 128 locations */
155 pdata->buffer_size = 0x80; 155 pdata->buffer_size = 0x80;
156 } else if (oh->class->rev == MCBSP_CONFIG_TYPE4) {
157 /* The FIFO has 128 locations for all instances */
158 pdata->buffer_size = 0x80;
156 } 159 }
157 160
158 if (oh->class->rev >= MCBSP_CONFIG_TYPE3) 161 if (oh->class->rev >= MCBSP_CONFIG_TYPE3)