Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3546d15c authored by Rabin Vincent's avatar Rabin Vincent Committed by Linus Walleij
Browse files

plat-nomadik: set altfunc to GPIO when enabling the sleep config

parent 2c8bb0eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -175,6 +175,8 @@ static void __nmk_config_pin(struct nmk_gpio_chip *nmk_chip, unsigned offset,
		int slpm_output = PIN_SLPM_DIR(cfg);
		int slpm_output = PIN_SLPM_DIR(cfg);
		int slpm_val = PIN_SLPM_VAL(cfg);
		int slpm_val = PIN_SLPM_VAL(cfg);


		af = NMK_GPIO_ALT_GPIO;

		/*
		/*
		 * The SLPM_* values are normal values + 1 to allow zero to
		 * The SLPM_* values are normal values + 1 to allow zero to
		 * mean "same as normal".
		 * mean "same as normal".