ARM i.MX5: fix "shift" value for lp_apm_sel on i.MX50 and i.MX53
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 25 Nov 2013 17:03:57 +0000 (18:03 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Dec 2013 01:36:27 +0000 (09:36 +0800)
commit630a212501653d046b61015a4d0f9e3db65382cc
treed9fbc463abfc8b2fbd783a6f0be6d004850d74ec
parent6fb8954b08d395a831a3e98134fe6545e6293a60
ARM i.MX5: fix "shift" value for lp_apm_sel on i.MX50 and i.MX53

According to the i.MX50 Rev. 1 and i.MX53 Rev. 2.1 datasheet the lp_apm_sel is
bit 10 in the CCM_CCSR register not bit 9. On the i.MX51 it's bit 9.

This patch fixes this issue.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx51-imx53.c