summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2010-11-03 15:54:36 +0100
committerAlan Tull <alan.tull@freescale.com>2011-02-03 16:45:35 -0600
commit85cfa213c2557ebbd4bd469e63a898dd1f7e408e (patch)
tree373184106ab1696e94844b509e91790ade743d01 /arch/arm/plat-mxc
parent9021fba6e46ff6c22e8802cabffd9334b25d4f99 (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 25c3a2bd5aac..6d4165834d9f 100644
--- a/arch/arm/plat-mxc/iomux-v3.c
+++ b/arch/arm/plat-mxc/iomux-v3.c
@@ -71,7 +71,7 @@ int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t *pad)
if (MUX_SELECT_INPUT_OFS(pad))
__raw_writel(MUX_SELECT_INPUT(pad),
- base + MUX_SELECT_INPUT(pad));
+ base + MUX_SELECT_INPUT_OFS(pad));
if (!(MUX_PAD_CTRL(pad) & NO_PAD_CTRL) && MUX_PAD_CTRL_OFS(pad))
__raw_writel(MUX_PAD_CTRL(pad), base + MUX_PAD_CTRL_OFS(pad));