forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/gpio/gpio-mxc.c
....@@ -231,7 +231,7 @@
231231
232232 writel(1 << gpio_idx, port->base + GPIO_ISR);
233233
234
- return 0;
234
+ return port->gc.direction_input(&port->gc, gpio_idx);
235235 }
236236
237237 static void mxc_flip_edge(struct mxc_gpio_port *port, u32 gpio)