mx35 iomux: correct input select register index
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.
Signed-off-by Philip Paeps <[email protected]>
--- 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
@@ -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
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 afterMUX_IN_GPIO2_IN_19would write to the wrong registers, possibly resulting in unexpected behaviour.Signed-off-by Philip Paeps <[email protected]>---
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 =====================================================================