sh: clock div4 frequency table offset fix
authorMagnus Damm <damm@igel.co.jp>
Tue, 2 Jun 2009 08:43:59 +0000 (08:43 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 11 Jun 2009 06:07:04 +0000 (09:07 +0300)
commita50de78dc6d21ee074e9561c800d194bec12128b
treeb6203e3043da1898598db8d441b594a51903f742
parentcf9fe114e3b37e14fc8434d5abb192e35df551b1
sh: clock div4 frequency table offset fix

This patch fixes the per clock offset calculation in
sh_clk_div4_register(). Without this patch the offset
to the frequency table for each clock is incorrect.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock-cpg.c