Ranjith Lohithakshan
b72c7d5435
omap: Remove DEBUG_FS dependency for mux name checking
...
The check for a valid mux name should be performed regardless of whether
DEBUG_FS is enabled or not. Otherwise without DEBUG_FS, we get:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1 ]
last sysfs file:
Modules linked in:
CPU: 0 Not tainted (2.6.33-rc8 #10 )
PC is at strcmp+0x18/0x40
LR is at omap_mux_init_signal+0x68/0x14c
...
This fixes the issue currently seen with boards not booting up
if DEBUG_FS is not enabled in defconfig.
Note that the earlier ifndef + ifdef now becomes simpler ifdef else:
If CONFIG_OMAP_MUX is selected, we use pin names. If it's not selected,
we only want the GPIO to mux register mapping.
Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-02-17 09:51:41 -08:00
..
2009-11-22 10:24:33 -08:00
2009-12-13 20:05:51 +01:00
2009-12-13 20:05:51 +01:00
2009-12-11 16:16:33 -08:00
2009-11-10 18:10:34 -08:00
2009-12-11 16:16:32 -08:00
2009-12-11 16:16:33 -08:00
2009-12-16 12:44:04 -08:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00
2009-12-16 12:44:04 -08:00
2009-12-13 20:05:51 +01:00
2009-10-20 09:40:47 -07:00
2009-12-13 20:05:51 +01:00
2009-12-16 12:44:04 -08:00
2009-12-13 20:05:51 +01:00
2009-12-16 12:44:04 -08:00
2009-12-13 20:05:51 +01:00
2009-12-16 12:44:04 -08:00
2009-11-22 10:24:33 -08:00
2009-12-11 16:16:33 -08:00
2009-12-11 16:16:32 -08:00
2009-12-11 16:16:33 -08:00
2009-11-22 10:24:33 -08:00
2010-01-08 10:29:07 -08:00
2009-12-11 16:16:00 -07:00
2010-01-08 15:23:17 -07:00
2009-12-11 16:16:00 -07:00
2010-01-19 17:30:52 -07:00
2010-01-08 15:23:03 -07:00
2009-12-11 17:00:46 -07:00
2010-01-20 13:35:28 -07:00
2009-12-11 17:00:46 -07:00
2009-12-11 17:00:46 -07:00
2009-12-11 16:12:15 -07:00
2009-12-11 17:00:47 -07:00
2009-12-11 17:00:47 -07:00
2010-01-08 15:23:04 -07:00
2009-10-20 09:40:47 -07:00
2009-09-24 16:23:07 -07:00
2009-12-11 17:00:45 -07:00
2009-02-08 17:50:37 +00:00
2009-05-28 10:59:07 -07:00
2009-12-11 17:00:45 -07:00
2009-12-11 17:00:43 -07:00
2009-12-11 17:00:46 -07:00
2009-11-11 14:42:28 -08:00
2010-01-20 18:16:02 -08:00
2009-12-11 16:16:32 -08:00
2009-12-11 17:00:46 -07:00
2009-12-02 10:25:23 +00:00
2009-10-20 09:40:47 -07:00
2009-12-11 16:16:33 -08:00
2010-02-03 08:48:06 -08:00
2009-12-11 16:16:32 -08:00
2010-01-19 18:17:36 -08:00
2010-01-08 15:23:05 -07:00
2009-10-20 09:40:47 -07:00
2010-02-03 08:48:06 -08:00
2010-01-08 10:29:08 -08:00
2009-11-22 10:24:33 -08:00
2009-12-11 16:16:34 -08:00
2009-10-20 09:40:47 -07:00
2010-02-10 09:20:33 -08:00
2009-09-23 07:39:35 -07:00
2010-02-03 08:48:06 -08:00
2009-12-11 16:16:33 -08:00
2010-02-17 09:51:41 -08:00
2010-01-19 18:17:35 -08:00
2009-11-22 10:24:32 -08:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00
2010-01-19 17:30:51 -07:00
2009-12-11 16:16:35 -08:00
2009-12-11 16:16:35 -08:00
2009-12-11 16:16:00 -07:00
2010-01-08 15:23:15 -07:00
2010-01-08 15:23:15 -07:00
2009-10-20 09:40:47 -07:00
2010-01-20 18:16:09 -08:00
2010-01-20 18:16:10 -08:00
2010-01-20 18:16:05 -08:00
2009-12-11 17:00:42 -07:00
2009-10-20 09:40:47 -07:00
2009-12-11 17:00:42 -07:00
2009-10-20 09:40:47 -07:00
2009-12-11 17:00:45 -07:00
2010-01-20 18:16:04 -08:00
2010-01-20 13:35:27 -07:00
2008-08-19 11:08:42 +03:00
2009-11-11 14:42:28 -08:00
2009-12-11 17:00:45 -07:00
2010-01-20 13:35:27 -07:00
2009-11-22 10:24:33 -08:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00
2009-12-09 11:44:32 +02:00
2009-12-11 16:16:00 -07:00
2010-02-03 08:48:06 -08:00
2009-10-20 09:40:47 -07:00
2010-01-20 18:16:03 -08:00
2009-12-11 17:00:42 -07:00
2009-10-19 15:25:31 -07:00
2009-10-19 15:25:31 -07:00
2009-11-11 14:42:28 -08:00
2009-06-09 13:03:59 +05:30
2009-12-11 16:16:32 -08:00
2009-10-20 09:40:47 -07:00
2009-10-20 09:40:47 -07:00