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>
This commit is contained in:
Peter Ujfalusi 2011-12-15 11:32:26 +02:00 committed by Mark Brown
parent d78930f422
commit da76250e13
1 changed files with 3 additions and 0 deletions

View File

@ -153,6 +153,9 @@ static int omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
else else
/* The FIFO has 128 locations */ /* The FIFO has 128 locations */
pdata->buffer_size = 0x80; 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) if (oh->class->rev >= MCBSP_CONFIG_TYPE3)