kernel/drivers/gpio/gpio-mxc.c
.. .. @@ -231,7 +231,7 @@ 231 231 232 232 writel(1 << gpio_idx, port->base + GPIO_ISR); 233 233 234 - return 0;234 + return port->gc.direction_input(&port->gc, gpio_idx);235 235 } 236 236 237 237 static void mxc_flip_edge(struct mxc_gpio_port *port, u32 gpio)