diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-01 14:22:54 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-03 11:48:06 -0500 |
commit | 9ecef433204f9b06550dd45cf84f14706f8fe4f0 (patch) | |
tree | 58c2a278abd5c301b705aa82672e6386f40e3b19 /arch/arm/mach-omap2/mux.c | |
parent | 8d08436d782d177747a0fac1e1455a44b932b7c6 (diff) |
omap: Fix 3630 mux errors
3630 has more mux signals than 34xx. The additional pins
exist in omap36xx_cbp_subset, but are not initialized
as the superset is missing these offsets. This causes
the following errors during the boot:
mux: Unknown entry offset 0x236
mux: Unknown entry offset 0x22e
mux: Unknown entry offset 0x1ec
mux: Unknown entry offset 0x1ee
mux: Unknown entry offset 0x1f4
mux: Unknown entry offset 0x1f6
mux: Unknown entry offset 0x1f8
mux: Unknown entry offset 0x1fa
mux: Unknown entry offset 0x1fc
mux: Unknown entry offset 0x22a
mux: Unknown entry offset 0x226
mux: Unknown entry offset 0x230
mux: Unknown entry offset 0x22c
mux: Unknown entry offset 0x228
Fix this by adding the missing offsets to omap3 superset.
Note that additionally the uninitialized pins need to be
skipped on 34xx.
Based on an earlier patch by Allen Pais <allen.pais@ti.com>.
Reported-by: Allen Pais <allen.pais@ti.com>
Signed-off-by: Allen Pais <allen.pais@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 3f59bd12cbbf..19001dd8dd7e 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -968,6 +968,13 @@ static void __init omap_mux_init_list(struct omap_mux *superset) | |||
968 | } | 968 | } |
969 | #endif | 969 | #endif |
970 | 970 | ||
971 | #if defined(CONFIG_OMAP_MUX) && defined(CONFIG_DEBUG_FS) | ||
972 | if (!superset->muxnames || !superset->muxnames[0]) { | ||
973 | superset++; | ||
974 | continue; | ||
975 | } | ||
976 | #endif | ||
977 | |||
971 | entry = omap_mux_list_add(superset); | 978 | entry = omap_mux_list_add(superset); |
972 | if (!entry) { | 979 | if (!entry) { |
973 | printk(KERN_ERR "mux: Could not add entry\n"); | 980 | printk(KERN_ERR "mux: Could not add entry\n"); |