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

Commit f8b6389b authored by Ryan Mallon's avatar Ryan Mallon Committed by Russell King
Browse files

[ARM] 5023/1: Fix broken gpio interrupts on ep93xx



Change gpio_direction_output to gpio_direction_input in
ep93xx_gpio_irq_type. Fixes broken gpio interrupts.

Signed-off-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2ddcca36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -280,7 +280,7 @@ static int ep93xx_gpio_irq_type(unsigned int irq, unsigned int type)
	const int port = gpio >> 3;
	const int port_mask = 1 << (gpio & 7);

	gpio_direction_output(gpio, gpio_get_value(gpio));
	gpio_direction_input(gpio);

	switch (type) {
	case IRQT_RISING: