linux/drivers/sh
Paul Mundt e8184a47c9 sh: pfc: Fix up BUG() triggered by gpiolib debugfs lookups.
The gpiolib debugfs entry takes a hammer approach and iterates over all
of the potential GPIOs, regardless of their type. The SH PFC code on the
other hand contains a variable mismash of input/output/function types
spread out sparsely, leading to situations where the debug code can
trigger an out of range enum for the type. Since we already have an error
path for out of range enums, we can just hand that up to the higher level
instead of the current BUG() behaviour.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-10-04 05:15:20 +09:00
..
maple sh: maple: PHYSADDR() -> virt_to_phys() conversion. 2009-10-13 12:35:30 +09:00
superhyway sh: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
clk-cpg.c sh: add a reparent function to DIV6 clocks 2010-08-04 16:12:01 +09:00
clk.c sh: reinstate clock framework rate rounding. 2010-08-20 19:10:38 +09:00
intc.c sh: Support early IRQ vector map reservation for delayed controllers. 2010-10-02 22:02:07 +09:00
Kconfig sh: Support IRQ balancing for SH-X3 proto cores, too. 2010-10-02 01:04:30 +09:00
Makefile ARM: mach-shmobile: Use shared clock framework 2010-05-20 12:05:45 +09:00
pfc.c sh: pfc: Fix up BUG() triggered by gpiolib debugfs lookups. 2010-10-04 05:15:20 +09:00