clock-imx35: fix divider if ahb is source for ipg_per
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 16 Aug 2010 13:54:05 +0000 (15:54 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 17 Aug 2010 07:23:48 +0000 (09:23 +0200)
commitc96c1e394fa72bd995154af7143873945a3fa89d
treeb0907d87a40b7927dfd99ebc2bfe09484ae0a623
parent9a6f17fd1cd84811962735ff47111f84a8f05073
clock-imx35: fix divider if ahb is source for ipg_per

According to the Datasheet:
"i.MX35 (MCIMX35) Multimedia Applications Processor Reference Manual,
Rev. 2" "Table 14-6. PDR0 Field Descriptions" the divider is
CCM_PER_AHB[3:0] + 1.

This patch adds the missing + 1.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock-imx35.c