projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78930f
)
OMAP4: mcbsp: Enable FIFO usage
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Thu, 15 Dec 2011 09:32:26 +0000
(11:32 +0200)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/mcbsp.c
b/arch/arm/mach-omap2/mcbsp.c
index
292eee3
..
857860b
100644
(file)
--- 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)
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)