mirror of https://gitee.com/openkylin/linux.git
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:
parent
d78930f422
commit
da76250e13
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue