aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2010-11-03 10:54:36 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-11-24 03:57:17 -0500
commit28d6a7a2f37a349a2292e52a87d76f06f55dc9d8 (patch)
tree233d763f690c8e660bd18cac67b6f469d5c834a4 /arch/arm/plat-mxc
parentc2932bf47001697fc48e89f1d136532703ed4779 (diff)
imx: fix iomux v3
Commit "ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookie" (b705cb4d42e95a4a43a8945571c8613e71526c3d) introduced a typo which was preventing my efikamx to boot. This patch is fixing that. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Tested-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/iomux-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/iomux-v3.c b/arch/arm/plat-mxc/iomux-v3.c
index 975ca7cdf9ad..4cbbf2c6ea74 100644
--- a/arch/arm/plat-mxc/iomux-v3.c
+++ b/arch/arm/plat-mxc/iomux-v3.c
@@ -41,7 +41,7 @@ int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t *pad)
41 41
42 if (MUX_SELECT_INPUT_OFS(pad)) 42 if (MUX_SELECT_INPUT_OFS(pad))
43 __raw_writel(MUX_SELECT_INPUT(pad), 43 __raw_writel(MUX_SELECT_INPUT(pad),
44 base + MUX_SELECT_INPUT(pad)); 44 base + MUX_SELECT_INPUT_OFS(pad));
45 45
46 if (!(MUX_PAD_CTRL(pad) & NO_PAD_CTRL) && MUX_PAD_CTRL_OFS(pad)) 46 if (!(MUX_PAD_CTRL(pad) & NO_PAD_CTRL) && MUX_PAD_CTRL_OFS(pad))
47 __raw_writel(MUX_PAD_CTRL(pad), base + MUX_PAD_CTRL_OFS(pad)); 47 __raw_writel(MUX_PAD_CTRL(pad), base + MUX_PAD_CTRL_OFS(pad));