Skip to contentSkip to conversation

mx35 iomux: correct input select register index

PATCH New Philip Paeps 2 participants 2 messages Apr 17, 2013 – Apr 25, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx35 iomux: correct input select register index

Prior to this fix, calls to mxc_iomux_set_input() for registers after MUX_IN_GPIO2_IN_19 would write to the wrong registers, possibly resulting in unexpected behaviour.

---
 arch/arm/include/asm/arch-mx35/iomux.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-mx35/iomux.h +1 -0
index 52c15bc..7f17ed6 100644
@@ -141,6 +141,7 @@ typedef enum iomux_input_select {
 	MUX_IN_GPIO2_IN_17,
 	MUX_IN_GPIO2_IN_18,
 	MUX_IN_GPIO2_IN_19,
+	MUX_IN_GPIO2_IN_1,
 	MUX_IN_GPIO2_IN_20,
 	MUX_IN_GPIO2_IN_21,
 	MUX_IN_GPIO2_IN_22,
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 mx35 iomux: correct input select register index

Quoted 6 lines · Philip Paeps

Prior to this fix, calls to mxc_iomux_set_input() for registers after MUX_IN_GPIO2_IN_19 would write to the wrong registers, possibly resulting in unexpected behaviour.

---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================