Ver código fonte

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 <philip@paeps.cx>
Philip Paeps 12 anos atrás
pai
commit
3f21501114
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      arch/arm/include/asm/arch-mx35/iomux.h

+ 1 - 0
arch/arm/include/asm/arch-mx35/iomux.h

@@ -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,