forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpio/gpio-tpic2810.c
....@@ -39,7 +39,7 @@
3939 unsigned offset)
4040 {
4141 /* This device always output */
42
- return 0;
42
+ return GPIO_LINE_DIRECTION_OUT;
4343 }
4444
4545 static int tpic2810_direction_input(struct gpio_chip *chip,