OMAP4: mcbsp: Enable FIFO usage
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Dec 2011 09:32:26 +0000 (11:32 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 17 Dec 2011 09:31:27 +0000 (09:31 +0000)
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>
arch/arm/mach-omap2/mcbsp.c

index 292eee3be15fdc10096b6833fc438b2ecab9ccea..857860b325b06d237a0ba75059635c6efe6a2188 100644 (file)
@@ -153,6 +153,9 @@ static int omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
                else
                        /* The FIFO has 128 locations */
                        pdata->buffer_size = 0x80;
+       } else if (oh->class->rev == MCBSP_CONFIG_TYPE4) {
+               /* The FIFO has 128 locations for all instances */
+               pdata->buffer_size = 0x80;
        }
 
        if (oh->class->rev >= MCBSP_CONFIG_TYPE3)