linux-stable/drivers/sh
Paul Mundt 5aefa34fad sh: clkfwk: Fix up rate rounding error handling.
According to the linux/clk.h definition we should be handing back an
errno value or a valid rate. This fixes up the case where 0 can be
returned for invalid frequencies or cases where rounding has no
selectable candidate.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-11-01 15:30:31 -04:00
..
clk sh: clkfwk: Fix up rate rounding error handling. 2010-11-01 15:30:31 -04:00
intc sh: intc: switch irq_desc iteration to new active IRQ iterator. 2010-10-28 11:36:31 +09:00
maple sh: maple: ctrl_in/outX to __raw_read/writeX conversion. 2010-10-27 14:34:41 +09:00
superhyway sh: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
Kconfig sh: intc: Split up the INTC code. 2010-10-05 22:10:30 +09:00
Makefile sh: clkfwk: Shuffle around to match the intc split up. 2010-10-18 21:32:58 +09:00
pfc.c sh: pfc: Fix up BUG() triggered by gpiolib debugfs lookups. 2010-10-04 05:15:20 +09:00