forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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,