summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorMahesh Mahadevan <mahesh.mahadevan@freescale.com>2012-05-25 10:29:10 -0500
committerMahesh Mahadevan <mahesh.mahadevan@freescale.com>2012-05-30 07:58:09 -0500
commit75752c1cbe95c9f6241f3054b6435312d6708a38 (patch)
tree11d41395fd4581dc04591fedbc361f8f58c7e156 /cpu
parent1627b8fd466be9cb0248be08f39b52a6e80337f1 (diff)
ENGR00211038 Fix the PAD_LVE implementation
Fix the PAD_LVE implementation used on MX6SL. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/mx6/iomux-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/mx6/iomux-v3.c b/cpu/arm_cortexa8/mx6/iomux-v3.c
index a147c4e71f..6041a07ab2 100644
--- a/cpu/arm_cortexa8/mx6/iomux-v3.c
+++ b/cpu/arm_cortexa8/mx6/iomux-v3.c
@@ -52,7 +52,7 @@ int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad)
if (pad_ctrl & PAD_CTL_LVE) {
/* Set the bit for LVE */
pad_ctrl |= (1 << PAD_CTL_LVE_OFFSET);
- pad_ctrl &= ~(1 << PAD_CTL_LVE);
+ pad_ctrl &= ~(PAD_CTL_LVE);
}
__raw_writel(pad_ctrl, base + pad_ctrl_ofs);
}