aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mcbsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/mcbsp.c')
-rw-r--r--arch/arm/mach-omap2/mcbsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c
index 4ada6a9ca4aa..565b9064a328 100644
--- a/arch/arm/mach-omap2/mcbsp.c
+++ b/arch/arm/mach-omap2/mcbsp.c
@@ -126,6 +126,8 @@ static int omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
126 return -ENOMEM; 126 return -ENOMEM;
127 } 127 }
128 128
129 pdata->mcbsp_config_type = oh->class->rev;
130
129 if (oh->class->rev == MCBSP_CONFIG_TYPE3) { 131 if (oh->class->rev == MCBSP_CONFIG_TYPE3) {
130 if (id == 2) 132 if (id == 2)
131 /* The FIFO has 1024 + 256 locations */ 133 /* The FIFO has 1024 + 256 locations */