summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
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 a147c4e..6041a07 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);
}